Skip to content

Commit

Permalink
feat: drop requirement of v20 for Asset Unlock transactions
Browse files Browse the repository at this point in the history
This fork already happened and no versioning is required
  • Loading branch information
knst committed Sep 14, 2024
1 parent 5b7cda9 commit 4950be0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/evo/specialtxman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ static bool CheckSpecialTxInner(CDeterministicMNManager& dmnman, const Chainstat
case TRANSACTION_ASSET_LOCK:
return CheckAssetLockUnlockTx(chainman.m_blockman, qman, tx, pindexPrev, indexes, state);
case TRANSACTION_ASSET_UNLOCK:
if (!DeploymentActiveAfter(pindexPrev, consensusParams, Consensus::DEPLOYMENT_V20)) {
return state.Invalid(TxValidationResult::TX_CONSENSUS, "assetunlocks-before-v20");
}
return CheckAssetLockUnlockTx(chainman.m_blockman, qman, tx, pindexPrev, indexes, state);
}
} catch (const std::exception& e) {
Expand Down

0 comments on commit 4950be0

Please sign in to comment.