eth, les: shorten genesis block mismatch error message
This commit is contained in:
@@ -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]),
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user