cosmetic: improve comment
This commit is contained in:
1 parent
2dee5abccc
commit
8f18df7a43
1 file changed
+4
-3
+4
-3
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user