mirror of https://github.com/status-im/nim-eth.git
make 'bloom.incl(h256)' public
This commit is contained in:
parent
2f37870b6b
commit
0194fb85eb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue