Add directionality back to remove peer log too.
This commit is contained in:
parent
13a8a8e7e3
commit
52701d826d
1 changed files with 2 additions and 1 deletions
|
@ -165,7 +165,8 @@ func (b *blockManager) handleDonePeerMsg(peers *list.List, p *peer) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Infof("[BMGR] Lost peer %s", p.addr)
|
log.Infof("[BMGR] Lost peer %s (%s)", p.addr,
|
||||||
|
directionString(p.inbound))
|
||||||
|
|
||||||
// Attempt to find a new peer to sync from if the quitting peer is the
|
// Attempt to find a new peer to sync from if the quitting peer is the
|
||||||
// sync peer.
|
// sync peer.
|
||||||
|
|
Loading…
Reference in a new issue