Skip to content

Commit dcab562

Browse files
committed
fix: drop requirement of v20 for ehf to be mined from specialtxman
V20 is activated long time ago, we don't need to require it anymore
1 parent ca83b26 commit dcab562

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/evo/specialtxman.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ static bool CheckSpecialTxInner(CDeterministicMNManager& dmnman, const Chainstat
4848
case TRANSACTION_QUORUM_COMMITMENT:
4949
return llmq::CheckLLMQCommitment(dmnman, chainman, tx, pindexPrev, state);
5050
case TRANSACTION_MNHF_SIGNAL:
51-
if (!DeploymentActiveAfter(pindexPrev, consensusParams, Consensus::DEPLOYMENT_V20)) {
52-
return state.Invalid(TxValidationResult::TX_CONSENSUS, "mnhf-before-v20");
53-
}
5451
return CheckMNHFTx(chainman, qman, tx, pindexPrev, state);
5552
case TRANSACTION_ASSET_LOCK:
5653
if (!DeploymentActiveAfter(pindexPrev, consensusParams, Consensus::DEPLOYMENT_V20)) {

test/functional/feature_mnehf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,6 @@ def run_test(self):
155155
self.log.info("Checking correctness of requestId and quorumHash")
156156
assert_equal(mnehf_payload.quorumHash, int(self.mninfo[0].node.quorum("selectquorum", 100, 'a0eee872d7d3170dd20d5c5e8380c92b3aa887da5f63d8033289fafa35a90691')["quorumHash"], 16))
157157

158-
self.send_tx(ehf_tx, expected_error='mnhf-before-v20')
159-
160-
assert_equal(get_bip9_details(node, 'testdummy')['status'], 'defined')
161158
self.activate_v20()
162159
assert_equal(get_bip9_details(node, 'testdummy')['status'], 'defined')
163160
assert_equal(get_bip9_details(node, 'mn_rr')['status'], 'defined')

0 commit comments

Comments
 (0)