diff options
| author | Gavin Andresen <[email protected]> | 2013-08-20 20:12:51 -0700 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-08-20 20:12:51 -0700 |
| commit | b986663ccdd3dfd8a93aad660839a315ca5c5bdd (patch) | |
| tree | 589f5ce0ef76535800d76ae85f8c9b5ff79bc0e5 /src/main.cpp | |
| parent | Merge pull request #2915 from petertodd/murmurhash-tests (diff) | |
| parent | Update the bloom state on the real object, not the temporary one. (diff) | |
| download | discoin-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.cpp | 2 |
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; } |