Skip to content

Commit 416646d

Browse files
committed
Support ignoring package-fee-too-low rejection
1 parent 6d35627 commit 416646d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/validation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,6 +1615,7 @@ PackageMempoolAcceptResult MemPoolAccept::AcceptMultipleTransactions(const std::
16151615
[](const auto& ws) { return ws.m_ptx->GetWitnessHash(); });
16161616
TxValidationState placeholder_state;
16171617
if (args.m_package_feerates &&
1618+
(!args.m_ignore_rejects.count("package-fee-too-low")) &&
16181619
!CheckFeeRate(m_subpackage.m_total_vsize, m_subpackage.m_total_modified_fees, placeholder_state, empty_ignore_rejects)) {
16191620
package_state.Invalid(PackageValidationResult::PCKG_TX, "transaction failed");
16201621
return PackageMempoolAcceptResult(package_state, {{workspaces.back().m_ptx->GetWitnessHash(),

0 commit comments

Comments
 (0)