Skip to content

Commit e0d97cf

Browse files
committed
feat: let asset locks be mined before v20
V20 is activated long time on mainnet and testnet, so, it doesn't matter anymore
1 parent 85764c4 commit e0d97cf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/evo/specialtxman.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ static bool CheckSpecialTxInner(CDeterministicMNManager& dmnman, const Chainstat
5353
}
5454
return CheckMNHFTx(chainman, qman, tx, pindexPrev, state);
5555
case TRANSACTION_ASSET_LOCK:
56-
if (!DeploymentActiveAfter(pindexPrev, consensusParams, Consensus::DEPLOYMENT_V20)) {
57-
return state.Invalid(TxValidationResult::TX_CONSENSUS, "assetlocks-before-v20");
58-
}
5956
return CheckAssetLockUnlockTx(chainman.m_blockman, qman, tx, pindexPrev, indexes, state);
6057
case TRANSACTION_ASSET_UNLOCK:
6158
if (Params().NetworkIDString() == CBaseChainParams::REGTEST && !DeploymentActiveAfter(pindexPrev, consensusParams, Consensus::DEPLOYMENT_V20)) {

0 commit comments

Comments
 (0)