Skip to content

Commit 839c7d1

Browse files
gmaxwellgavinandresen
authored andcommitted
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.
1 parent d7fdc5f commit 839c7d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3676,7 +3676,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
36763676
LOCK(pfrom->cs_filter);
36773677
delete pfrom->pfilter;
36783678
pfrom->pfilter = new CBloomFilter(filter);
3679-
filter.UpdateEmptyFull();
3679+
pfrom->pfilter->UpdateEmptyFull();
36803680
}
36813681
pfrom->fRelayTxes = true;
36823682
}

0 commit comments

Comments
 (0)