diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2014-06-30 08:35:12 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2014-06-30 08:35:12 -0400 |
commit | 8ceb28afc3799c765d1fce242d9c9472d5f4024c (patch) | |
tree | 39e751cf37191b98e399380e2517873ac1bd62bf /src/txmempool.cpp | |
parent | 6fba25ef26649359d8e5962555c0d753b6df51b4 (diff) | |
parent | 7a19efe04069d9a1e251cdc94b25184f76d9d901 (diff) |
Merge pull request #3883 from dgenr8/first_double_spend
Relay and alert user to double spends
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r-- | src/txmempool.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 52f82ef040..97a426dd35 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -415,7 +415,6 @@ 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); |