From d3f27c5b81a4ff2d099eb004e2c4204b654894ba 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 fc5a2e06ce..4a2aeeaa0c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3699,7 +3699,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; }