mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
fix: check mn state after each mined quorum
This commit is contained in:
parent
cce87a662a
commit
fd2fbe06a3
@ -93,8 +93,8 @@ class LLMQSimplePoSeTest(DashTestFramework):
|
|||||||
def test_no_banning(self, expected_connections=None):
|
def test_no_banning(self, expected_connections=None):
|
||||||
for _ in range(3):
|
for _ in range(3):
|
||||||
self.mine_quorum(expected_connections=expected_connections)
|
self.mine_quorum(expected_connections=expected_connections)
|
||||||
for mn in self.mninfo:
|
for mn in self.mninfo:
|
||||||
assert not self.check_punished(mn) and not self.check_banned(mn)
|
assert not self.check_punished(mn) and not self.check_banned(mn)
|
||||||
|
|
||||||
def mine_quorum_less_checks(self, expected_good_nodes, mninfos_online):
|
def mine_quorum_less_checks(self, expected_good_nodes, mninfos_online):
|
||||||
# Unlike in mine_quorum we skip most of the checks and only care about
|
# Unlike in mine_quorum we skip most of the checks and only care about
|
||||||
|
Loading…
Reference in New Issue
Block a user