aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2013-08-20 20:12:51 -0700
committerGavin Andresen <[email protected]>2013-08-20 20:12:51 -0700
commitb986663ccdd3dfd8a93aad660839a315ca5c5bdd (patch)
tree589f5ce0ef76535800d76ae85f8c9b5ff79bc0e5 /src/main.cpp
parentMerge pull request #2915 from petertodd/murmurhash-tests (diff)
parentUpdate the bloom state on the real object, not the temporary one. (diff)
downloaddiscoin-b986663ccdd3dfd8a93aad660839a315ca5c5bdd.tar.xz
discoin-b986663ccdd3dfd8a93aad660839a315ca5c5bdd.zip
Merge pull request #2919 from gmaxwell/bloom_faster
Update the bloom state on the real object, not the temporary one.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b62f107b4..bef578a80 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;
}