X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=netsync%2Fmessage_test.go;h=5c40a680b4f0dbb5d441ed41401af9270710cf81;hb=c2e4075a43a3866fe8ab827a96f2c7e86252f1c0;hp=8743df70a9688de172e3ce7c45cc3eea125ad476;hpb=86f47fea7c334231e3bf9b975d94c5b806b8d033;p=bytom%2Fvapor.git diff --git a/netsync/message_test.go b/netsync/message_test.go index 8743df70..5c40a680 100644 --- a/netsync/message_test.go +++ b/netsync/message_test.go @@ -14,7 +14,7 @@ var testBlock = &types.Block{ BlockHeader: types.BlockHeader{ Version: 1, Height: 0, - Timestamp: 1528945000, + Timestamp: 1528945000000, BlockCommitment: types.BlockCommitment{ TransactionsMerkleRoot: bc.Hash{V0: uint64(0x11)}, TransactionStatusHash: bc.Hash{V0: uint64(0x55)}, @@ -48,7 +48,7 @@ var testHeaders = []*types.BlockHeader{ { Version: 1, Height: 0, - Timestamp: 1528945000, + Timestamp: 1528945000000, BlockCommitment: types.BlockCommitment{ TransactionsMerkleRoot: bc.Hash{V0: uint64(0x11)}, TransactionStatusHash: bc.Hash{V0: uint64(0x55)}, @@ -57,7 +57,7 @@ var testHeaders = []*types.BlockHeader{ { Version: 1, Height: 1, - Timestamp: 1528945000, + Timestamp: 1528945000000, BlockCommitment: types.BlockCommitment{ TransactionsMerkleRoot: bc.Hash{V0: uint64(0x11)}, TransactionStatusHash: bc.Hash{V0: uint64(0x55)}, @@ -66,7 +66,7 @@ var testHeaders = []*types.BlockHeader{ { Version: 1, Height: 3, - Timestamp: 1528945000, + Timestamp: 1528945000000, BlockCommitment: types.BlockCommitment{ TransactionsMerkleRoot: bc.Hash{V0: uint64(0x11)}, TransactionStatusHash: bc.Hash{V0: uint64(0x55)}, @@ -127,7 +127,7 @@ var testBlocks = []*types.Block{ BlockHeader: types.BlockHeader{ Version: 1, Height: 0, - Timestamp: 1528945000, + Timestamp: 1528945000000, BlockCommitment: types.BlockCommitment{ TransactionsMerkleRoot: bc.Hash{V0: uint64(0x11)}, TransactionStatusHash: bc.Hash{V0: uint64(0x55)}, @@ -138,7 +138,7 @@ var testBlocks = []*types.Block{ BlockHeader: types.BlockHeader{ Version: 1, Height: 0, - Timestamp: 1528945000, + Timestamp: 1528945000000, BlockCommitment: types.BlockCommitment{ TransactionsMerkleRoot: bc.Hash{V0: uint64(0x11)}, TransactionStatusHash: bc.Hash{V0: uint64(0x55)},