From a7f533a9723c7eafea4aea7d00fa9129a4ffe1d5 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 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; }