mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Few more tiny trivial fixes
This commit is contained in:
parent
8c2c2a1ad4
commit
c4094c8de1
@ -34,8 +34,8 @@ class DIP3Test(BitcoinTestFramework):
|
||||
|
||||
def start_controller_node(self, extra_args=None):
|
||||
self.log.info("starting controller node")
|
||||
if self.nodes is None:
|
||||
self.nodes = [None]
|
||||
if len(self.nodes) == 0:
|
||||
self.nodes.append(None)
|
||||
args = self.extra_args
|
||||
if extra_args is not None:
|
||||
args += extra_args
|
||||
|
@ -28,7 +28,7 @@ class KeyPoolTest(BitcoinTestFramework):
|
||||
|
||||
# Encrypt wallet and wait to terminate
|
||||
nodes[0].encryptwallet('test')
|
||||
bitcoind_processes[0].wait()
|
||||
self.bitcoind_processes[0].wait()
|
||||
# Restart node 0
|
||||
nodes[0] = self.start_node(0, self.options.tmpdir, ['-usehd=1'], stderr=sys.stdout)
|
||||
# Keep creating keys
|
||||
|
@ -421,7 +421,7 @@ class BitcoinTestFramework(object):
|
||||
args.extend(extra_args)
|
||||
self.bitcoind_processes[i] = subprocess.Popen(args, stderr=stderr)
|
||||
self.log.debug("initialize_chain: dashd started, waiting for RPC to come up")
|
||||
self.wait_for_bitcoind_start(bitcoind_processes[i], datadir, i)
|
||||
self._wait_for_bitcoind_start(self.bitcoind_processes[i], datadir, i)
|
||||
self.log.debug("initialize_chain: RPC successfully started")
|
||||
|
||||
self.nodes = []
|
||||
|
Loading…
Reference in New Issue
Block a user