Skip to content

Commit 8e36e69

Browse files
committed
Bugfix: Ignore "min relay fee not met" using the correct ignore_rejects string
1 parent 1003e8b commit 8e36e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ bool MemPoolAccept::PreChecks(ATMPArgs& args, Workspace& ws)
962962
// method of ensuring the tx remains bumped. For example, the fee-bumping child could disappear
963963
// due to a replacement.
964964
// The only exception is TRUC transactions.
965-
if (ws.m_ptx->version != TRUC_VERSION && ws.m_modified_fees < m_pool.m_opts.min_relay_feerate.GetFee(ws.m_vsize) && !args.m_ignore_rejects.count(rejectmsg_mempoolfull)) {
965+
if (ws.m_ptx->version != TRUC_VERSION && ws.m_modified_fees < m_pool.m_opts.min_relay_feerate.GetFee(ws.m_vsize) && !args.m_ignore_rejects.count(rejectmsg_lowfee_relay)) {
966966
// Even though this is a fee-related failure, this result is TX_MEMPOOL_POLICY, not
967967
// TX_RECONSIDERABLE, because it cannot be bypassed using package validation.
968968
return state.Invalid(TxValidationResult::TX_MEMPOOL_POLICY, "min relay fee not met",

0 commit comments

Comments
 (0)