Merge pull request #2919 from gmaxwell/bloom_faster

Update the bloom state on the real object, not the temporary one.
This commit is contained in:
Gavin Andresen 2013-08-20 20:12:51 -07:00
commit b986663ccd

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