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.
This commit is contained in:
Gregory Maxwell
2013-08-20 17:41:42 -07:00
committed by Gavin Andresen
parent d7fdc5fac3
commit 839c7d1fa8

View File

@@ -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;
}