aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-07-17 14:09:55 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-21 07:46:34 +0200
commit98e84aae7ad1e4e18d2292f1ddeeb517432b4c42 (patch)
tree46c8cb4086d1a873b77e03d59e1b56f712b7ae2a /src/txmempool.cpp
parent3015e0bca6bc2cb8beb747873fdf7b80e74d679f (diff)
Revert "Relay double-spends, subject to anti-DOS"
This reverts commit d640a3ceab4f4372c2a0f738c1286cfde4b41b50.
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index a852de5da8..ebb1369e31 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -420,6 +420,7 @@ void CTxMemPool::remove(const CTransaction &tx, std::list<CTransaction>& removed
void CTxMemPool::removeConflicts(const CTransaction &tx, std::list<CTransaction>& removed)
{
// Remove transactions which depend on inputs of tx, recursively
+ list<CTransaction> result;
LOCK(cs);
BOOST_FOREACH(const CTxIn &txin, tx.vin) {
std::map<COutPoint, CInPoint>::iterator it = mapNextTx.find(txin.prevout);