mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
No need to assert wait_until
This commit is contained in:
parent
956e6bc016
commit
1b77cc81a8
@ -62,7 +62,7 @@ class DisconnectBanTest(BitcoinTestFramework):
|
||||
assert_equal("192.168.0.1/32", listBeforeShutdown[2]['address'])
|
||||
self.bump_mocktime(2)
|
||||
set_node_times(self.nodes, self.mocktime)
|
||||
assert wait_until(lambda: len(self.nodes[1].listbanned()) == 3, timeout=10)
|
||||
wait_until(lambda: len(self.nodes[1].listbanned()) == 3, timeout=10)
|
||||
|
||||
self.stop_node(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user