diff --git a/src/main.cpp b/src/main.cpp index fc5a2e06c..4a2aeeaa0 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; }