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 Warren Togami
parent 71b27467bd
commit d3f27c5b81

View File

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