From a9926a289dd21bcfd8e2def8f4005b43b728cb3d Mon Sep 17 00:00:00 2001 From: zelig Date: Thu, 19 Mar 2015 02:00:34 +0530 Subject: [PATCH] fix missing hexification on IdleTooLong error log --- blockpool/peers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockpool/peers.go b/blockpool/peers.go index 41782983c..b463137e3 100644 --- a/blockpool/peers.go +++ b/blockpool/peers.go @@ -564,7 +564,7 @@ LOOP: // quit case <-quit: - self.peerError(self.bp.peers.errors.New(ErrIdleTooLong, "timed out without providing new blocks (td: %v, head: %s)...quitting", self.td, self.currentBlockHash)) + self.peerError(self.bp.peers.errors.New(ErrIdleTooLong, "timed out without providing new blocks (td: %v, head: %s)...quitting", self.td, hex(self.currentBlockHash))) self.bp.status.lock.Lock() self.bp.status.badPeers[self.id]++