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
@@ -24,7 +24,7 @@ func (*SurrogateGossiper) OnGossipUnicast(sender PeerName, msg []byte) error {
return nil
}
func (*SurrogateGossiper) OnGossipBroadcast(update []byte) (GossipData, error) {
func (*SurrogateGossiper) OnGossipBroadcast(_ PeerName, update []byte) (GossipData, error) {
return NewSurrogateGossipData(update), nil
}