fix reversed variables in a warning message.
This commit is contained in:
parent
e5620d6387
commit
0abfdcc88b
1 changed files with 1 additions and 1 deletions
2
peer.go
2
peer.go
|
@ -938,7 +938,7 @@ func (p *peer) inHandler() {
|
|||
// matter.
|
||||
if p.versionKnown {
|
||||
log.Warnf("Peer %s no answer for %d minutes, "+
|
||||
"disconnecting", idleTimeoutMinutes, p)
|
||||
"disconnecting", p, idleTimeoutMinutes)
|
||||
}
|
||||
p.Disconnect()
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue