diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-19 04:30:34 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-03-20 18:41:40 +0800 |
commit | a9926a289dd21bcfd8e2def8f4005b43b728cb3d (patch) | |
tree | 8b522e34823718195928c6ba5f4e1d15937baed8 /blockpool | |
parent | 391e89d70a43b4a2153db8acac9a6af7a4f76adf (diff) | |
download | go-tangerine-a9926a289dd21bcfd8e2def8f4005b43b728cb3d.tar go-tangerine-a9926a289dd21bcfd8e2def8f4005b43b728cb3d.tar.gz go-tangerine-a9926a289dd21bcfd8e2def8f4005b43b728cb3d.tar.bz2 go-tangerine-a9926a289dd21bcfd8e2def8f4005b43b728cb3d.tar.lz go-tangerine-a9926a289dd21bcfd8e2def8f4005b43b728cb3d.tar.xz go-tangerine-a9926a289dd21bcfd8e2def8f4005b43b728cb3d.tar.zst go-tangerine-a9926a289dd21bcfd8e2def8f4005b43b728cb3d.zip |
fix missing hexification on IdleTooLong error log
Diffstat (limited to 'blockpool')
-rw-r--r-- | blockpool/peers.go | 2 |
1 files changed, 1 insertions, 1 deletions
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]++ |