mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
fix: MnEHF transaction should be accepted to mempool bypass fee limits
This commit is contained in:
parent
612faa8868
commit
c8d84a8c33
@ -796,7 +796,11 @@ bool MemPoolAccept::PreChecks(ATMPArgs& args, Workspace& ws)
|
|||||||
|
|
||||||
// No transactions are allowed below minRelayTxFee except from disconnected
|
// No transactions are allowed below minRelayTxFee except from disconnected
|
||||||
// blocks
|
// blocks
|
||||||
|
// Checking of fee for MNHF_SIGNAL should be skipped: mnhf does not have
|
||||||
|
// inputs, outputs, or fee
|
||||||
|
if (tx.nVersion != 3 || tx.nType != TRANSACTION_MNHF_SIGNAL) {
|
||||||
if (!bypass_limits && !CheckFeeRate(nSize, nModifiedFees, state)) return false;
|
if (!bypass_limits && !CheckFeeRate(nSize, nModifiedFees, state)) return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (nAbsurdFee && nFees > nAbsurdFee)
|
if (nAbsurdFee && nFees > nAbsurdFee)
|
||||||
return state.Invalid(TxValidationResult::TX_NOT_STANDARD,
|
return state.Invalid(TxValidationResult::TX_NOT_STANDARD,
|
||||||
|
Loading…
Reference in New Issue
Block a user