aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/fundrawtransaction.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-02-22 11:29:43 +0100
committerMarcoFalke <falke.marco@gmail.com>2017-02-23 03:05:43 +0100
commitfa4cd2e998e0ebebe283a6243f7f752123a105ab (patch)
tree691fa6bf7ffa07cc0676bba2d5fe21ae6854e08f /qa/rpc-tests/fundrawtransaction.py
parent8ad31f9aa3111e079dd5024e8f6b069abb564b81 (diff)
downloadbitcoin-fa4cd2e998e0ebebe283a6243f7f752123a105ab.tar.xz
qa: Check return code when stopping nodes
This includes work by jnewbery
Diffstat (limited to 'qa/rpc-tests/fundrawtransaction.py')
-rwxr-xr-xqa/rpc-tests/fundrawtransaction.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/qa/rpc-tests/fundrawtransaction.py b/qa/rpc-tests/fundrawtransaction.py
index 7396ba46a4..8d2bc73c0c 100755
--- a/qa/rpc-tests/fundrawtransaction.py
+++ b/qa/rpc-tests/fundrawtransaction.py
@@ -469,7 +469,9 @@ class RawTransactionsTest(BitcoinTestFramework):
# locked wallet test
self.nodes[1].encryptwallet("test")
self.nodes.pop(1)
- stop_nodes(self.nodes)
+ stop_node(self.nodes[0], 0)
+ stop_node(self.nodes[1], 2)
+ stop_node(self.nodes[2], 3)
self.nodes = start_nodes(self.num_nodes, self.options.tmpdir)
# This test is not meant to test fee estimation and we'd like