cosmetic(ish)

This commit is contained in:
Matthias Radestock committed 2015-11-25 14:32:34 +00:00
1 parent 44a2c5fdff
commit 61e3bf4a20
2 files changed
+12 -12

No files matched your search

+3 -3
View File
@@ -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) {