@@ -823,7 +823,7 @@ bool MemPoolAccept::PreChecks(ATMPArgs& args, Workspace& ws)
823823 // DoS scoring a node for non-critical errors, e.g. duplicate keys because a TX is received that was already
824824 // mined
825825 // NOTE: we use UTXO here and do NOT allow mempool txes as masternode collaterals
826- if (!CheckSpecialTx (tx, m_active_chainstate.m_chain .Tip (), state, m_active_chainstate.CoinsTip (), true ))
826+ if (!CheckSpecialTx (tx, m_active_chainstate.m_chain .Tip (), m_active_chainstate.CoinsTip (), true , state ))
827827 return false ;
828828
829829 if (m_pool.existsProviderTxConflict (tx)) {
@@ -2253,7 +2253,7 @@ bool CChainState::ConnectBlock(const CBlock& block, BlockValidationState& state,
22532253 bool fDIP0001Active_context = pindex->nHeight >= Params ().GetConsensus ().DIP0001Height ;
22542254
22552255 // MUST process special txes before updating UTXO to ensure consistency between mempool and block processing
2256- if (!ProcessSpecialTxsInBlock (block, pindex, *m_llmq_ctx->quorum_block_processor , *m_llmq_ctx->clhandler , state, view, fJustCheck , fScriptChecks )) {
2256+ if (!ProcessSpecialTxsInBlock (block, pindex, *m_llmq_ctx->quorum_block_processor , *m_llmq_ctx->clhandler , view, fJustCheck , fScriptChecks , state )) {
22572257 return error (" ConnectBlock(DASH): ProcessSpecialTxsInBlock for block %s failed with %s" ,
22582258 pindex->GetBlockHash ().ToString (), state.ToString ());
22592259 }
@@ -4902,7 +4902,7 @@ bool CChainState::RollforwardBlock(const CBlockIndex* pindex, CCoinsViewCache& i
49024902
49034903 // MUST process special txes before updating UTXO to ensure consistency between mempool and block processing
49044904 BlockValidationState state;
4905- if (!ProcessSpecialTxsInBlock (block, pindex, *m_llmq_ctx->quorum_block_processor , *m_llmq_ctx->clhandler , state, inputs, false /* fJustCheck*/ , false /* fScriptChecks*/ )) {
4905+ if (!ProcessSpecialTxsInBlock (block, pindex, *m_llmq_ctx->quorum_block_processor , *m_llmq_ctx->clhandler , inputs, false /* fJustCheck*/ , false /* fScriptChecks*/ , state )) {
49064906 return error (" RollforwardBlock(DASH): ProcessSpecialTxsInBlock for block %s failed with %s" ,
49074907 pindex->GetBlockHash ().ToString (), state.ToString ());
49084908 }
0 commit comments