refactor: tweak GossipChannel API

This commit is contained in:
Matthias Radestock committed 2015-12-21 17:42:20 +00:00
1 parent 6c4e9fccd3
commit 592335092c
2 files changed
+12 -3

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@ func (router *Router) gossipChannelSet() map[*GossipChannel]struct{} {
func (router *Router) SendAllGossip() {
for channel := range router.gossipChannelSet() {
if gossip := channel.gossiper.Gossip(); gossip != nil {
channel.Send(router.Ourself.Name, gossip)
channel.Send(gossip)
}
}
}