diff options
| author | Christopher Coverdale <[email protected]> | 2020-06-21 23:32:32 +0100 |
|---|---|---|
| committer | Christopher Coverdale <[email protected]> | 2020-06-22 12:58:14 +0100 |
| commit | 20b6e959449d0c07639599b99ba917d2cac62493 (patch) | |
| tree | 021837bfa0fa9ccc43a70181306bd6af8ce7f121 /test/functional/wallet_avoidreuse.py | |
| parent | Merge #19198: test: Check that peers with forcerelay permission are not asked... (diff) | |
| download | discoin-20b6e959449d0c07639599b99ba917d2cac62493.tar.xz discoin-20b6e959449d0c07639599b99ba917d2cac62493.zip | |
test: refactor functional tests to use restart_node
Diffstat (limited to 'test/functional/wallet_avoidreuse.py')
| -rwxr-xr-x | test/functional/wallet_avoidreuse.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/wallet_avoidreuse.py b/test/functional/wallet_avoidreuse.py index 780cce9d0..eddd93884 100755 --- a/test/functional/wallet_avoidreuse.py +++ b/test/functional/wallet_avoidreuse.py @@ -110,9 +110,7 @@ class AvoidReuseTest(BitcoinTestFramework): assert_equal(self.nodes[0].getwalletinfo()["avoid_reuse"], False) assert_equal(self.nodes[1].getwalletinfo()["avoid_reuse"], True) - # Stop and restart node 1 - self.stop_node(1) - self.start_node(1) + self.restart_node(1) connect_nodes(self.nodes[0], 1) # Flags should still be node1.avoid_reuse=false, node2.avoid_reuse=true |