Skip to content

Commit

Permalink
mempool: Use Params() in AcceptToMemoryPoolWorker()
Browse files Browse the repository at this point in the history
  • Loading branch information
lateminer committed Apr 29, 2024
1 parent e4da4f6 commit b256c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ bool AcceptToMemoryPoolWorker(CTxMemPool& pool, CValidationState& state, const C
CAmount nFees = nValueIn-nValueOut;

// Blackcoin: Minimum fee check
if (chainparams.GetConsensus().IsProtocolV3_1(nTimeTx) && nFees < GetMinFee(tx, nTimeTx))
if (Params().GetConsensus().IsProtocolV3_1(nTimeTx) && nFees < GetMinFee(tx, nTimeTx))
return state.Invalid(false, REJECT_INSUFFICIENTFEE, "fee is below minimum");

// nModifiedFees includes any fee deltas from PrioritiseTransaction
Expand Down

0 comments on commit b256c0f

Please sign in to comment.