From 2cfa76fa8b5d93ba2a92dc4df556c6a7fab52920 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 2 Oct 2013 13:50:42 -0400 Subject: Multicast propagation is now working from non-supernodes, and working quite well. Time for some more simulation before 0.5.0! --- node/Multicaster.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/Multicaster.hpp') diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp index 861fc65e..16ae7218 100644 --- a/node/Multicaster.hpp +++ b/node/Multicaster.hpp @@ -177,7 +177,7 @@ public: uint64_t aint = a.toInt() + _bloomNonce; const unsigned int bit = (unsigned int)(aint ^ (aint >> 13) ^ (aint >> 26) ^ (aint >> 39)) & 0x1fff; unsigned char *const bbyte = _bloom + (bit >> 3); // note: bloom filter size == 1024 is hard-coded here - const unsigned char bmask = 0x80 >> (bit & 7); + const unsigned char bmask = 1 << (bit & 7); if ((*bbyte & bmask)) return true; else *bbyte |= bmask; -- cgit v1.2.3