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
parent 37c6389c5a
commit a7f533a972
1 changed files with 1 additions and 1 deletions

View File

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