diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-07-17 14:09:55 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-07-21 07:46:34 +0200 |
| commit | 98e84aae7ad1e4e18d2292f1ddeeb517432b4c42 (patch) | |
| tree | 46c8cb4086d1a873b77e03d59e1b56f712b7ae2a /src/txmempool.cpp | |
| parent | Revert "UI to alert of respend attempt affecting wallet." (diff) | |
| download | discoin-98e84aae7ad1e4e18d2292f1ddeeb517432b4c42.tar.xz discoin-98e84aae7ad1e4e18d2292f1ddeeb517432b4c42.zip | |
Revert "Relay double-spends, subject to anti-DOS"
This reverts commit d640a3ceab4f4372c2a0f738c1286cfde4b41b50.
Diffstat (limited to 'src/txmempool.cpp')
| -rw-r--r-- | src/txmempool.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index a852de5da..ebb1369e3 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); |