From 0194fb85eb65bcddd188303535a998d1f258ce82 Mon Sep 17 00:00:00 2001 From: jangko Date: Wed, 30 Sep 2020 11:57:57 +0700 Subject: [PATCH] make 'bloom.incl(h256)' public --- eth/bloom.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/bloom.nim b/eth/bloom.nim index 6badc62..867d5bd 100644 --- a/eth/bloom.nim +++ b/eth/bloom.nim @@ -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