diff --git a/libwhisper/BloomFilter.h b/libwhisper/BloomFilter.h index 89529146a..188e69f59 100644 --- a/libwhisper/BloomFilter.h +++ b/libwhisper/BloomFilter.h @@ -34,11 +34,11 @@ public: TopicBloomFilter() { init(); } TopicBloomFilter(AbridgedTopic const& _h): AbridgedTopic(_h) { init(); } - void addBloom(AbridgedTopic const& _h) { add(_h.template bloom()); } - void removeBloom(AbridgedTopic const& _h) { remove(_h.template bloom()); } + void addBloom(AbridgedTopic const& _h) { add(_h.template bloomPart()); } + void removeBloom(AbridgedTopic const& _h) { remove(_h.template bloomPart()); } void add(AbridgedTopic const& _h); void remove(AbridgedTopic const& _h); - bool containsBloom(AbridgedTopic const& _h) const { return contains(_h.template bloom()); } + bool containsBloom(AbridgedTopic const& _h) const { return contains(_h.template bloomPart()); } enum { BitsPerBloom = 3 };