txmempool: Remove unused default value MemPoolRemovalReason::UNKNOWN

This commit is contained in:
MarcoFalke
2019-07-22 07:42:01 -04:00
parent 51a6e2c419
commit 0000ff0aa7
4 changed files with 17 additions and 16 deletions

View File

@@ -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));