mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
refactor: drop unused parameter mninfos_valid in test framework mine_cycle_quorum
This commit is contained in:
parent
d4c17d95b0
commit
0072318421
@ -1909,7 +1909,7 @@ class DashTestFramework(BitcoinTestFramework):
|
|||||||
|
|
||||||
return new_quorum
|
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
|
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
|
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
|
expected_commitments = self.llmq_size_dip0024
|
||||||
if mninfos_online is None:
|
if mninfos_online is None:
|
||||||
mninfos_online = self.mninfo.copy()
|
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, "
|
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,
|
"expected_commitments=%d" % (expected_members, expected_connections, expected_contributions, expected_complaints,
|
||||||
|
Loading…
Reference in New Issue
Block a user