From 839c7d1fa8bf939e313d78d2fae65bcf0174875c Mon Sep 17 00:00:00 2001 From: Gregory Maxwell Date: Tue, 20 Aug 2013 17:41:42 -0700 Subject: [PATCH] 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. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 4584fbab19f..cb0ecdc671d 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; }