core/types: fix typo in comment (#25359)

This commit is contained in:
yong 2022-08-03 22:56:57 +08:00 committed by GitHub
parent 9244f87dc1
commit 6b6261b51f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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())
} }