eliminate a gossip inefficiency and dormant bug

Fixes #1704
This commit is contained in:
Matthias Radestock committed 2015-11-19 20:57:27 +00:00
1 parent f25af8f7d6
commit ee12b34334
1 file changed
+1 -1
+1 -1
View File
@@ -141,7 +141,7 @@ func (router *Router) SendAllGossip() {
func (router *Router) SendAllGossipDown(conn Connection) {
for channel := range router.gossipChannelSet() {
if gossip := channel.gossiper.Gossip(); gossip != nil {
channel.SendDown(conn, channel.gossiper.Gossip())
channel.SendDown(conn, gossip)
}
}
}