No need to assert wait_until

This commit is contained in:
Alexander Block 2019-09-24 01:16:44 +02:00
parent 956e6bc016
commit 1b77cc81a8

View File

@ -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)