From c9e79527af2f7c1b471ce01bfd4efc492ebfda75 Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Sun, 4 Nov 2018 22:57:24 -0800 Subject: [PATCH] discovery/gossiper: add trace log when skipping unadvertised node ann --- discovery/gossiper.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/discovery/gossiper.go b/discovery/gossiper.go index 66aba91b..a1175e51 100644 --- a/discovery/gossiper.go +++ b/discovery/gossiper.go @@ -1642,6 +1642,9 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement( source: nMsg.source, msg: msg, }) + } else { + log.Tracef("Skipping broadcasting node announcement "+ + "for %x due to being unadvertised", msg.NodeID) } nMsg.err <- nil