From aecfe1c4840bbc3ff5764a4cca14564e4bc58c3f Mon Sep 17 00:00:00 2001 From: ziggie Date: Thu, 8 Aug 2024 13:14:39 +0200 Subject: [PATCH] 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. --- discovery/sync_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery/sync_manager.go b/discovery/sync_manager.go index 39098f70e..d3a017256 100644 --- a/discovery/sync_manager.go +++ b/discovery/sync_manager.go @@ -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) }