mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
feat: drop v20 requirement for special EHF transaction
It is not a breaking changes, because this fork is already happened in past and no EHF transaction is in blockchain at that moment which requires versioning
This commit is contained in:
parent
8639298e16
commit
b3e9e5c981
@ -48,9 +48,6 @@ static bool CheckSpecialTxInner(CDeterministicMNManager& dmnman, const Chainstat
|
|||||||
case TRANSACTION_QUORUM_COMMITMENT:
|
case TRANSACTION_QUORUM_COMMITMENT:
|
||||||
return llmq::CheckLLMQCommitment(dmnman, chainman, tx, pindexPrev, state);
|
return llmq::CheckLLMQCommitment(dmnman, chainman, tx, pindexPrev, state);
|
||||||
case TRANSACTION_MNHF_SIGNAL:
|
case TRANSACTION_MNHF_SIGNAL:
|
||||||
if (!DeploymentActiveAfter(pindexPrev, consensusParams, Consensus::DEPLOYMENT_V20)) {
|
|
||||||
return state.Invalid(TxValidationResult::TX_CONSENSUS, "mnhf-before-v20");
|
|
||||||
}
|
|
||||||
return CheckMNHFTx(chainman, qman, tx, pindexPrev, state);
|
return CheckMNHFTx(chainman, qman, tx, pindexPrev, state);
|
||||||
case TRANSACTION_ASSET_LOCK:
|
case TRANSACTION_ASSET_LOCK:
|
||||||
return CheckAssetLockUnlockTx(chainman.m_blockman, qman, tx, pindexPrev, indexes, state);
|
return CheckAssetLockUnlockTx(chainman.m_blockman, qman, tx, pindexPrev, indexes, state);
|
||||||
|
Loading…
Reference in New Issue
Block a user