mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
feat: let asset locks be mined before v20
V20 is activated long time on mainnet and testnet, so, it doesn't matter anymore
This commit is contained in:
parent
85764c4b73
commit
e0d97cf7ac
@ -53,9 +53,6 @@ static bool CheckSpecialTxInner(CDeterministicMNManager& dmnman, const Chainstat
|
|||||||
}
|
}
|
||||||
return CheckMNHFTx(chainman, qman, tx, pindexPrev, state);
|
return CheckMNHFTx(chainman, qman, tx, pindexPrev, state);
|
||||||
case TRANSACTION_ASSET_LOCK:
|
case TRANSACTION_ASSET_LOCK:
|
||||||
if (!DeploymentActiveAfter(pindexPrev, consensusParams, Consensus::DEPLOYMENT_V20)) {
|
|
||||||
return state.Invalid(TxValidationResult::TX_CONSENSUS, "assetlocks-before-v20");
|
|
||||||
}
|
|
||||||
return CheckAssetLockUnlockTx(chainman.m_blockman, qman, tx, pindexPrev, indexes, state);
|
return CheckAssetLockUnlockTx(chainman.m_blockman, qman, tx, pindexPrev, indexes, state);
|
||||||
case TRANSACTION_ASSET_UNLOCK:
|
case TRANSACTION_ASSET_UNLOCK:
|
||||||
if (Params().NetworkIDString() == CBaseChainParams::REGTEST && !DeploymentActiveAfter(pindexPrev, consensusParams, Consensus::DEPLOYMENT_V20)) {
|
if (Params().NetworkIDString() == CBaseChainParams::REGTEST && !DeploymentActiveAfter(pindexPrev, consensusParams, Consensus::DEPLOYMENT_V20)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user