diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-20 07:33:52 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-03-20 18:41:41 +0800 |
commit | d7564a9a25c06f0c9ad9440f02b09e20e0ca30bc (patch) | |
tree | 351e6660b9d70a2badb4a010eccf76357ecf6dd7 /blockpool/peers_test.go | |
parent | 8987750a369e4906f8d5301473cd4df8433177f3 (diff) | |
download | go-tangerine-d7564a9a25c06f0c9ad9440f02b09e20e0ca30bc.tar.gz go-tangerine-d7564a9a25c06f0c9ad9440f02b09e20e0ca30bc.tar.zst go-tangerine-d7564a9a25c06f0c9ad9440f02b09e20e0ca30bc.zip |
fix common.Hash conversion
Diffstat (limited to 'blockpool/peers_test.go')
-rw-r--r-- | blockpool/peers_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blockpool/peers_test.go b/blockpool/peers_test.go index 0e4c40e87..beeb0ad1d 100644 --- a/blockpool/peers_test.go +++ b/blockpool/peers_test.go @@ -170,8 +170,8 @@ func TestPeerPromotionByOptionalTdOnBlock(t *testing.T) { hashes := blockPoolTester.hashPool.IndexesToHashes([]int{2, 3}) peer1.waitBlocksRequests(3) blockPool.AddBlock(&types.Block{ - HeaderHash: common.Bytes(hashes[1]), - ParentHeaderHash: common.Bytes(hashes[0]), + HeaderHash: common.Hash(hashes[1]), + ParentHeaderHash: common.Hash(hashes[0]), Td: common.Big3, }, "peer1") |