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:
ziggie 2024-08-08 13:14:39 +02:00 committed by Olaoluwa Osuntokun
parent 53799e9f91
commit b23e69c0b7

View file

@ -561,7 +561,7 @@ func (m *SyncManager) removeGossipSyncer(peer route.Vertex) {
return
}
log.Debugf("Replaced active GossipSyncer(%x) with GossipSyncer(%x)",
log.Debugf("Replaced active GossipSyncer(%v) with GossipSyncer(%x)",
peer, newActiveSyncer.cfg.peerPub)
}