Browse Source

Merge pull request #2919 from gmaxwell/bloom_faster

Update the bloom state on the real object, not the temporary one.
0.10
Gavin Andresen 11 years ago
parent
commit
b986663ccd
  1. 2
      src/main.cpp

2
src/main.cpp

@ -3893,7 +3893,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) @@ -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;
}

Loading…
Cancel
Save