cosmetic(ish)
This commit is contained in:
1 parent
44a2c5fdff
commit
61e3bf4a20
2 files changed
+12
-12
No files matched your search
+3
-3
@@ -238,10 +238,10 @@ func (g *testGossiper) OnGossip(update []byte) (GossipData, error) {
|
||||
g.state[v] = void
|
||||
}
|
||||
}
|
||||
if len(delta) > 0 {
|
||||
return NewSurrogateGossipData(delta), nil
|
||||
if len(delta) == 0 {
|
||||
return nil, nil
|
||||
}
|
||||
return nil, nil
|
||||
return NewSurrogateGossipData(delta), nil
|
||||
}
|
||||
|
||||
func (g *testGossiper) checkHas(t *testing.T, vs ...byte) {
|
||||
|
||||
Reference in new issue
Block a user