aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2013-08-20 17:41:42 -0700
committerGavin Andresen <gavinandresen@gmail.com>2013-08-21 11:07:28 +1000
commit839c7d1fa8bf939e313d78d2fae65bcf0174875c (patch)
treed07db6211510882ea7317652a466cf368ff3ca4f
parentd7fdc5fac34814b71b2b539ebf6d9b8fdae5b50c (diff)
Update the bloom state on the real object, not the temporary one.v0.8.4rc2v0.8.4
This resulted in just passing all transactions to filtered wallets which worked surprisingly well, except where it didn't.
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4584fbab19..cb0ecdc671 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3676,7 +3676,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;
}