diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-07-22 07:42:01 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-07-22 07:40:24 -0400 |
commit | 0000ff0aa763e3be524ac4537a41048a26529fb2 (patch) | |
tree | de161bf07bf491a0a10a741d3f9eae428eafb897 /src/test/miner_tests.cpp | |
parent | 51a6e2c4192913c9c18507d8dfb3302500b26cc3 (diff) |
txmempool: Remove unused default value MemPoolRemovalReason::UNKNOWN
Diffstat (limited to 'src/test/miner_tests.cpp')
-rw-r--r-- | src/test/miner_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp index 4bd40687a6..05d7f76983 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -158,7 +158,7 @@ static void TestPackageSelection(const CChainParams& chainparams, const CScript& // Test that packages above the min relay fee do get included, even if one // of the transactions is below the min relay fee // Remove the low fee transaction and replace with a higher fee transaction - mempool.removeRecursive(CTransaction(tx)); + mempool.removeRecursive(CTransaction(tx), MemPoolRemovalReason::REPLACED); tx.vout[0].nValue -= 2; // Now we should be just over the min relay fee hashLowFeeTx = tx.GetHash(); mempool.addUnchecked(entry.Fee(feeToUse+2).FromTx(tx)); |