aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2012-08-18 23:38:28 -0400
committerMatt Corallo <[email protected]>2013-01-16 12:48:02 -0500
commitd3b26f7077f58ebfcfccc5f0b16f8c29be5dc6b5 (patch)
tree6dc2f03a18dcc8b237a7dbf2b5fd3fcb3c4dcd9b /src/net.cpp
parentReplace RelayMessage with RelayTransaction. (diff)
downloaddiscoin-d3b26f7077f58ebfcfccc5f0b16f8c29be5dc6b5.tar.xz
discoin-d3b26f7077f58ebfcfccc5f0b16f8c29be5dc6b5.zip
Automatically add any matching outputs to a filter during matching.
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index aafc7206c..e88efcd19 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2034,7 +2034,7 @@ void RelayTransaction(const CTransaction& tx, const uint256& hash, const CDataSt
LOCK(pnode->cs_filter);
if (pnode->pfilter)
{
- if (pnode->pfilter->IsTransactionRelevantToFilter(tx, hash))
+ if (pnode->pfilter->IsRelevantAndUpdate(tx, hash))
pnode->PushInventory(inv);
} else
pnode->PushInventory(inv);