From 8f18df7a433bdc2843088bcc83b769eba9c1295f Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Sat, 31 Jan 2015 11:38:29 +0000 Subject: [PATCH] cosmetic: improve comment --- router/router.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/router/router.go b/router/router.go index 434f99e4..445f89cb 100644 --- a/router/router.go +++ b/router/router.go @@ -373,9 +373,10 @@ func (router *Router) Gossip() []byte { func (router *Router) OnGossip(buf []byte) ([]byte, error) { newUpdate, err := router.Peers.ApplyUpdate(buf) if _, ok := err.(UnknownPeerError); err != nil && ok { - // That update contained a peer we didn't know about; we - // ignore this; eventually we should receive an update - // containing a complete topology. + // That update contained a reference to a peer which wasn't + // itself included in the update, and we didn't know about + // already. We ignore this; eventually we should receive an + // update containing a complete topology. log.Println("Topology gossip:", err) return nil, nil }