aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2013-08-20 17:41:42 -0700
committerGregory Maxwell <greg@xiph.org>2013-08-20 17:46:07 -0700
commita7f533a9723c7eafea4aea7d00fa9129a4ffe1d5 (patch)
tree321b70181f50342b05fc6932a123914eff653e4d /src
parent37c6389c5a0ca63ae3573440ecdfe95d28ad8f07 (diff)
downloadbitcoin-a7f533a9723c7eafea4aea7d00fa9129a4ffe1d5.tar.xz
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.
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
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;
}