diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2019-08-22 18:17:31 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2019-10-26 13:24:39 +0200 |
commit | 1abcecc40c518a98b7d17880657ec0247abdf125 (patch) | |
tree | b78f9540641279b72e2288e278b54ef08c6c2fcb /test/functional/wallet_reorgsrestore.py | |
parent | be50469217bd775c4305938634c32e5932f47841 (diff) |
Tests: Use self.chain instead of 'regtest' in almost all current tests
Diffstat (limited to 'test/functional/wallet_reorgsrestore.py')
-rwxr-xr-x | test/functional/wallet_reorgsrestore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_reorgsrestore.py b/test/functional/wallet_reorgsrestore.py index f48018e9fb..497a5dd95e 100755 --- a/test/functional/wallet_reorgsrestore.py +++ b/test/functional/wallet_reorgsrestore.py @@ -90,7 +90,7 @@ class ReorgsRestoreTest(BitcoinTestFramework): # Node0 wallet file is loaded on longest sync'ed node1 self.stop_node(1) self.nodes[0].backupwallet(os.path.join(self.nodes[0].datadir, 'wallet.bak')) - shutil.copyfile(os.path.join(self.nodes[0].datadir, 'wallet.bak'), os.path.join(self.nodes[1].datadir, 'regtest', 'wallet.dat')) + shutil.copyfile(os.path.join(self.nodes[0].datadir, 'wallet.bak'), os.path.join(self.nodes[1].datadir, self.chain, 'wallet.dat')) self.start_node(1) tx_after_reorg = self.nodes[1].gettransaction(txid) # Check that normal confirmed tx is confirmed again but with different blockhash |