cosmetic: improve comment

This commit is contained in:
Matthias Radestock committed 2015-01-31 11:38:29 +00:00
1 parent 2dee5abccc
commit 8f18df7a43
1 file changed
+4 -3
+4 -3
View File
@@ -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
}