core/bloombits: AddBloom index parameter and fixes variable names
This commit is contained in:
committed by
Péter Szilágyi
parent
f585f9eee8
commit
6ff2c02991
@ -44,7 +44,7 @@ func TestGenerator(t *testing.T) {
|
||||
t.Fatalf("failed to create bloombit generator: %v", err)
|
||||
}
|
||||
for i, bloom := range input {
|
||||
if err := gen.AddBloom(bloom); err != nil {
|
||||
if err := gen.AddBloom(uint(i), bloom); err != nil {
|
||||
t.Fatalf("bloom %d: failed to add: %v", i, err)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user