make 'bloom.incl(h256)' public

This commit is contained in:
jangko 2020-09-30 11:57:57 +07:00
parent 2f37870b6b
commit 0194fb85eb
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ iterator bloomBits(h: MDigest[256]): UInt2048 =
type BloomFilter* = object
value*: UInt2048
proc incl(f: var BloomFilter, h: MDigest[256]) = # Should this be public?
proc incl*(f: var BloomFilter, h: MDigest[256]) =
for bits in bloomBits(h):
f.value = f.value or bits