Patch for concurrent iterator & others (onto v1.11.6) #386
@ -154,7 +154,7 @@ func bloomValues(data []byte, hashbuf []byte) (uint, byte, uint, byte, uint, byt
|
|||||||
return i1, v1, i2, v2, i3, v3
|
return i1, v1, i2, v2, i3, v3
|
||||||
}
|
}
|
||||||
|
|
||||||
// BloomLookup is a convenience-method to check presence int he bloom filter
|
// BloomLookup is a convenience-method to check presence in the bloom filter
|
||||||
func BloomLookup(bin Bloom, topic bytesBacked) bool {
|
func BloomLookup(bin Bloom, topic bytesBacked) bool {
|
||||||
return bin.Test(topic.Bytes())
|
return bin.Test(topic.Bytes())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user