diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-04-25 19:31:15 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-04-25 19:53:50 +0800 |
commit | e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80 (patch) | |
tree | 9dd32e8fb794b4950313ae2b2cd5499bb60dc4cd /eth/protocol_test.go | |
parent | ba3bcd16a6d99bc0e58516556df8e96b730c2d60 (diff) | |
download | go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.gz go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.bz2 go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.lz go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.xz go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.zst go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.zip |
cmd, eth, les, mobile: make networkid uint64 everywhere
Diffstat (limited to 'eth/protocol_test.go')
-rw-r--r-- | eth/protocol_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/protocol_test.go b/eth/protocol_test.go index 74180bedd..2056ee0a8 100644 --- a/eth/protocol_test.go +++ b/eth/protocol_test.go @@ -55,7 +55,7 @@ func testStatusMsgErrors(t *testing.T, protocol int) { wantError: errResp(ErrNoStatusMsg, "first msg has code 2 (!= 0)"), }, { - code: StatusMsg, data: statusData{10, uint32(DefaultConfig.NetworkId), td, currentBlock, genesis}, + code: StatusMsg, data: statusData{10, DefaultConfig.NetworkId, td, currentBlock, genesis}, wantError: errResp(ErrProtocolVersionMismatch, "10 (!= %d)", protocol), }, { @@ -63,7 +63,7 @@ func testStatusMsgErrors(t *testing.T, protocol int) { wantError: errResp(ErrNetworkIdMismatch, "999 (!= 1)"), }, { - code: StatusMsg, data: statusData{uint32(protocol), uint32(DefaultConfig.NetworkId), td, currentBlock, common.Hash{3}}, + code: StatusMsg, data: statusData{uint32(protocol), DefaultConfig.NetworkId, td, currentBlock, common.Hash{3}}, wantError: errResp(ErrGenesisBlockMismatch, "0300000000000000 (!= %x)", genesis[:8]), }, } |