diff options
| author | Gregory Maxwell <[email protected]> | 2013-08-20 17:41:42 -0700 |
|---|---|---|
| committer | Gregory Maxwell <[email protected]> | 2013-08-20 17:46:07 -0700 |
| commit | a7f533a9723c7eafea4aea7d00fa9129a4ffe1d5 (patch) | |
| tree | 321b70181f50342b05fc6932a123914eff653e4d | |
| parent | Performance optimization for bloom filters. (diff) | |
| download | discoin-a7f533a9723c7eafea4aea7d00fa9129a4ffe1d5.tar.xz discoin-a7f533a9723c7eafea4aea7d00fa9129a4ffe1d5.zip | |
Update the bloom state on the real object, not the temporary one.
This resulted in just passing all transactions to filtered wallets
which worked surprisingly well, except where it didn't.
| -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; } |