discovery: fix log line.
if we use %x here we would get the hex representation of the String() method of the vertex, which is wrong.
This commit is contained in:
1 file changed
+1
-1
@@ -561,7 +561,7 @@ func (m *SyncManager) removeGossipSyncer(peer route.Vertex) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Debugf("Replaced active GossipSyncer(%x) with GossipSyncer(%x)",
|
log.Debugf("Replaced active GossipSyncer(%v) with GossipSyncer(%x)",
|
||||||
peer, newActiveSyncer.cfg.peerPub)
|
peer, newActiveSyncer.cfg.peerPub)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user