tweak comment

This commit is contained in:
Matthias Radestock committed 2015-04-04 19:46:47 +01:00
1 parent fa5279ab3e
commit 683caef866
1 file changed
+2 -2
+2 -2
View File
@@ -29,8 +29,8 @@ type Gossiper interface {
OnGossipBroadcast(msg []byte) error
// return state of everything we know; gets called periodically
Gossip() GossipData
// merge in state and return "everything new I've just learnt",
// or nil if nothing in the received message was new
// merge received date into state and return "everything new I've
// just learnt", or nil if nothing in the received data was new
OnGossip(buf []byte) (GossipData, error)
}