Add sender to OnGossipBroadcast()

This commit is contained in:
Bryan Boreham committed 2015-07-15 12:07:56 +01:00
1 parent 7063ca51aa
commit acf13dc157
9 files changed
+18 -17

No files matched your search

+1 -1
View File
@@ -238,7 +238,7 @@ func (n *Nameserver) OnGossip(msg []byte) (router.GossipData, error) {
// merge received data into state and return a representation of
// the received data, for further propagation
func (n *Nameserver) OnGossipBroadcast(msg []byte) (router.GossipData, error) {
func (n *Nameserver) OnGossipBroadcast(_ router.PeerName, msg []byte) (router.GossipData, error) {
_, entries, err := n.receiveGossip(msg)
return entries, err
}