fix wait_node

This commit is contained in:
UdjinM6 2019-08-10 15:43:45 +03:00 committed by Pasta
parent cd30d6b447
commit 59e57337e4
No known key found for this signature in database
GPG Key ID: D362C9F7142766AE

View File

@ -311,8 +311,8 @@ class BitcoinTestFramework(object):
def wait_node(self, i):
return_code = self.bitcoind_processes[i].wait(timeout=BITCOIND_PROC_WAIT_TIMEOUT)
assert_equal(return_code, 0)
del self.bitcoind_processes[i]
assert_equal(return_code, 0)
def wait_for_node_exit(self, i, timeout):
self.bitcoind_processes[i].wait(timeout)