log when added peer is behind (hash found in blockchain)
This commit is contained in:
parent
af6971f823
commit
47278a6e4e
@ -214,6 +214,7 @@ func (self *peers) addPeer(
|
||||
// check peer current head
|
||||
if self.bp.hasBlock(currentBlockHash) {
|
||||
// peer not ahead
|
||||
plog.Debugf("addPeer: peer <%v> with td %v and current block %s is behind", id, td, hex(currentBlockHash))
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user