Skip to content

Commit

Permalink
core/types: fix typo in comment (ethereum#25359)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhaoyu authored and HanWang233 committed Sep 11, 2022
1 parent 656e887 commit 3d63ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/types/bloom9.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func bloomValues(data []byte, hashbuf []byte) (uint, byte, uint, byte, uint, byt
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 {
return bin.Test(topic.Bytes())
}

0 comments on commit 3d63ba3

Please sign in to comment.