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 blakehhuynh committed Oct 7, 2022
1 parent 9d60f95 commit 63c30d5
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 63c30d5

Please sign in to comment.