diff --git a/test/functional/dip3-deterministicmns.py b/test/functional/dip3-deterministicmns.py index 65421ce54e..c5d98267cb 100755 --- a/test/functional/dip3-deterministicmns.py +++ b/test/functional/dip3-deterministicmns.py @@ -45,7 +45,7 @@ class DIP3Test(BitcoinTestFramework): def stop_controller_node(self): self.log.info("stopping controller node") - stop_node(self.nodes[0], 0) + self.stop_node(self.nodes[0], 0) def restart_controller_node(self): self.stop_controller_node() diff --git a/test/functional/fundrawtransaction-hd.py b/test/functional/fundrawtransaction-hd.py index e9500c6d6c..ade26fe852 100755 --- a/test/functional/fundrawtransaction-hd.py +++ b/test/functional/fundrawtransaction-hd.py @@ -439,9 +439,9 @@ class RawTransactionsTest(BitcoinTestFramework): # locked wallet test self.nodes[1].encryptwallet("test") self.nodes.pop(1) - stop_node(self.nodes[0], 0) - stop_node(self.nodes[1], 2) - stop_node(self.nodes[2], 3) + self.stop_node(self.nodes[0], 0) + self.stop_node(self.nodes[1], 2) + self.stop_node(self.nodes[2], 3) self.nodes = start_nodes(4, self.options.tmpdir, [['-usehd=1']] * self.num_nodes, stderr=sys.stdout) # This test is not meant to test fee estimation and we'd like diff --git a/test/functional/llmq-chainlocks.py b/test/functional/llmq-chainlocks.py index 4963c07542..d6feed6bcb 100755 --- a/test/functional/llmq-chainlocks.py +++ b/test/functional/llmq-chainlocks.py @@ -71,7 +71,7 @@ class LLMQChainLocksTest(DashTestFramework): # Keep node connected and let it try to reorg the chain good_tip = self.nodes[0].getbestblockhash() # Restart it so that it forgets all the chainlocks from the past - stop_node(self.nodes[0], 0) + self.stop_node(self.nodes[0], 0) self.nodes[0] = start_node(0, self.options.tmpdir, self.extra_args) connect_nodes(self.nodes[0], 1) self.nodes[0].invalidateblock(self.nodes[0].getbestblockhash()) diff --git a/test/functional/sporks.py b/test/functional/sporks.py index 65783a4e88..56f8e8ced5 100755 --- a/test/functional/sporks.py +++ b/test/functional/sporks.py @@ -57,8 +57,8 @@ class SporkTest(BitcoinTestFramework): assert(sent) # restart nodes to check spork persistence - stop_node(self.nodes[0], 0) - stop_node(self.nodes[1], 1) + self.stop_node(self.nodes[0], 0) + self.stop_node(self.nodes[1], 1) self.nodes[0] = start_node(0, self.options.tmpdir) self.nodes[1] = start_node(1, self.options.tmpdir) assert(not self.get_test_spork_state(self.nodes[0])) diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index 16cf71c345..2436773572 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -458,7 +458,7 @@ class DashTestFramework(BitcoinTestFramework): def prepare_datadirs(self): # stop faucet node so that we can copy the datadir - stop_node(self.nodes[0], 0) + self.stop_node(self.nodes[0], 0) start_idx = len(self.nodes) for idx in range(0, self.mn_count): diff --git a/test/functional/wallet-hd.py b/test/functional/wallet-hd.py index e5016e25de..40cad94733 100755 --- a/test/functional/wallet-hd.py +++ b/test/functional/wallet-hd.py @@ -68,7 +68,7 @@ class WalletHDTest(BitcoinTestFramework): assert_equal(self.nodes[1].getbalance(), num_hd_adds + 1) self.log.info("Restore backup ...") - stop_node(self.nodes[1],1) + self.stop_node(self.nodes[1],1) os.remove(self.options.tmpdir + "/node1/regtest/wallet.dat") shutil.copyfile(tmpdir + "/hd.bak", tmpdir + "/node1/regtest/wallet.dat") self.nodes[1] = self.start_node(1, self.options.tmpdir, self.extra_args[1], stderr=sys.stdout)