fix missing hexification on IdleTooLong error log

pull/532/head
zelig 10 years ago
parent 391e89d70a
commit a9926a289d
  1. 2
      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]++

Loading…
Cancel
Save