Add directionality back to remove peer log too.

This commit is contained in:
Dave Collins 2013-10-02 19:43:38 -05:00
parent 13a8a8e7e3
commit 52701d826d

View file

@ -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.