add mocks for GossipNeighbourSubset

This commit is contained in:
Murali Reddy authored and Bryan Boreham committed 2019-11-05 13:25:56 +00:00
1 parent 3780ce4dfb
commit 640c5c346c
2 files changed
+7

No files matched your search

+3
View File
@@ -65,6 +65,9 @@ func (m *mockGossipComms) GossipBroadcast(update mesh.GossipData) {
}
}
func (m *mockGossipComms) GossipNeighbourSubset(update mesh.GossipData) {
m.GossipBroadcast(update)
}
func equalByteBuffer(a, b []byte) bool {
if len(a) != len(b) {
return false