From 0072318421d173094fc591bfdff75f7976cbd10d Mon Sep 17 00:00:00 2001 From: pasta Date: Tue, 19 Nov 2024 23:10:21 -0600 Subject: [PATCH] refactor: drop unused parameter mninfos_valid in test framework mine_cycle_quorum --- test/functional/test_framework/test_framework.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index a9a063b593..3ccf819fd9 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -1909,7 +1909,7 @@ class DashTestFramework(BitcoinTestFramework): return new_quorum - def mine_cycle_quorum(self, llmq_type_name="llmq_test_dip0024", llmq_type=103, expected_connections=None, expected_members=None, expected_contributions=None, expected_complaints=0, expected_justifications=0, expected_commitments=None, mninfos_online=None, mninfos_valid=None): + def mine_cycle_quorum(self, llmq_type_name="llmq_test_dip0024", llmq_type=103, expected_connections=None, expected_members=None, expected_contributions=None, expected_complaints=0, expected_justifications=0, expected_commitments=None, mninfos_online=None): spork21_active = self.nodes[0].spork('show')['SPORK_21_QUORUM_ALL_CONNECTED'] <= 1 spork23_active = self.nodes[0].spork('show')['SPORK_23_QUORUM_POSE'] <= 1 @@ -1923,8 +1923,6 @@ class DashTestFramework(BitcoinTestFramework): expected_commitments = self.llmq_size_dip0024 if mninfos_online is None: mninfos_online = self.mninfo.copy() - if mninfos_valid is None: - mninfos_valid = self.mninfo.copy() self.log.info("Mining quorum: expected_members=%d, expected_connections=%d, expected_contributions=%d, expected_complaints=%d, expected_justifications=%d, " "expected_commitments=%d" % (expected_members, expected_connections, expected_contributions, expected_complaints,