diff options
author | Felix Lange <fjl@twurst.com> | 2017-02-27 20:53:30 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2017-02-28 00:19:41 +0800 |
commit | 35e8308bf76df11c3c1e8d11fac782814583ea5c (patch) | |
tree | 97ce8c63d93b4e01133bbcfab4155f4796b4e71d /eth/protocol_test.go | |
parent | fc97c7a38dc5193ef5e32de42235b6facf609c41 (diff) | |
download | go-tangerine-35e8308bf76df11c3c1e8d11fac782814583ea5c.tar go-tangerine-35e8308bf76df11c3c1e8d11fac782814583ea5c.tar.gz go-tangerine-35e8308bf76df11c3c1e8d11fac782814583ea5c.tar.bz2 go-tangerine-35e8308bf76df11c3c1e8d11fac782814583ea5c.tar.lz go-tangerine-35e8308bf76df11c3c1e8d11fac782814583ea5c.tar.xz go-tangerine-35e8308bf76df11c3c1e8d11fac782814583ea5c.tar.zst go-tangerine-35e8308bf76df11c3c1e8d11fac782814583ea5c.zip |
eth, les: shorten genesis block mismatch error message
Diffstat (limited to 'eth/protocol_test.go')
-rw-r--r-- | eth/protocol_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/protocol_test.go b/eth/protocol_test.go index 43f336c32..253dcd8a7 100644 --- a/eth/protocol_test.go +++ b/eth/protocol_test.go @@ -63,7 +63,7 @@ func testStatusMsgErrors(t *testing.T, protocol int) { }, { code: StatusMsg, data: statusData{uint32(protocol), NetworkId, td, currentBlock, common.Hash{3}}, - wantError: errResp(ErrGenesisBlockMismatch, "0300000000000000000000000000000000000000000000000000000000000000 (!= %x)", genesis), + wantError: errResp(ErrGenesisBlockMismatch, "0300000000000000 (!= %x)", genesis[:8]), }, } |