diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-08-20 20:12:51 -0700 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-08-20 20:12:51 -0700 |
commit | b986663ccdd3dfd8a93aad660839a315ca5c5bdd (patch) | |
tree | 589f5ce0ef76535800d76ae85f8c9b5ff79bc0e5 /src | |
parent | 449fb40aa93f4a7ad17e144548526e19247903c8 (diff) | |
parent | a7f533a9723c7eafea4aea7d00fa9129a4ffe1d5 (diff) |
Merge pull request #2919 from gmaxwell/bloom_faster
Update the bloom state on the real object, not the temporary one.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index b62f107b4c..bef578a80a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3893,7 +3893,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) LOCK(pfrom->cs_filter); delete pfrom->pfilter; pfrom->pfilter = new CBloomFilter(filter); - filter.UpdateEmptyFull(); + pfrom->pfilter->UpdateEmptyFull(); } pfrom->fRelayTxes = true; } |