Make ATMP optionally return the CTransactionRefs it replaced

This commit is contained in:
Matt Corallo
2016-12-04 18:53:26 -08:00
parent c735540428
commit edded808fc
5 changed files with 20 additions and 13 deletions

View File

@@ -23,7 +23,7 @@ ToMemPool(CMutableTransaction& tx)
LOCK(cs_main);
CValidationState state;
return AcceptToMemoryPool(mempool, state, MakeTransactionRef(tx), false, NULL, true, 0);
return AcceptToMemoryPool(mempool, state, MakeTransactionRef(tx), false, NULL, NULL, true, 0);
}
BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup)