From 35e8308bf76df11c3c1e8d11fac782814583ea5c Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 27 Feb 2017 13:53:30 +0100 Subject: eth, les: shorten genesis block mismatch error message --- les/peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'les') diff --git a/les/peer.go b/les/peer.go index fc3591c78..4d00f3df9 100644 --- a/les/peer.go +++ b/les/peer.go @@ -367,7 +367,7 @@ func (p *peer) Handshake(td *big.Int, head common.Hash, headNum uint64, genesis } if rGenesis != genesis { - return errResp(ErrGenesisBlockMismatch, "%x (!= %x)", rGenesis, genesis) + return errResp(ErrGenesisBlockMismatch, "%x (!= %x)", rGenesis[:8], genesis[:8]) } if int(rNetwork) != p.network { return errResp(ErrNetworkIdMismatch, "%d (!= %d)", rNetwork, p.network) -- cgit v1.2.3