mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 12:06:40 +00:00
fix missing hexification on IdleTooLong error log
This commit is contained in:
parent
391e89d70a
commit
a9926a289d
1 changed files with 1 additions and 1 deletions
|
|
@ -564,7 +564,7 @@ LOOP:
|
||||||
|
|
||||||
// quit
|
// quit
|
||||||
case <-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.lock.Lock()
|
||||||
self.bp.status.badPeers[self.id]++
|
self.bp.status.badPeers[self.id]++
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue