Skip to content

Commit

Permalink
Update the bloom state on the real object, not the temporary one.
Browse files Browse the repository at this point in the history
This resulted in just passing all transactions to filtered wallets
which worked surprisingly well, except where it didn't.
  • Loading branch information
gmaxwell authored and gavinandresen committed Aug 21, 2013
1 parent d7fdc5f commit 839c7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 839c7d1

Please sign in to comment.