test: refactor functional tests to use restart_node

This commit is contained in:
Christopher Coverdale committed 2020-06-22 12:58:14 +01:00
1 parent 8ef15e8a86
commit 20b6e95944
13 files changed
+25 -48

No files matched your search

+1 -2
View File
@@ -77,8 +77,7 @@ class ReorgsRestoreTest(BitcoinTestFramework):
assert_equal(conflicted["walletconflicts"][0], conflicting["txid"])
# Node0 wallet is shutdown
self.stop_node(0)
self.start_node(0)
self.restart_node(0)
# The block chain re-orgs and the tx is included in a different block
self.nodes[1].generate(9)