aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet-hd.py
diff options
context:
space:
mode:
authorMeshCollider <dobsonsa68@gmail.com>2017-10-12 22:04:46 +1300
committerMeshCollider <dobsonsa68@gmail.com>2017-11-18 00:50:59 +1300
commit8263f6a5ac3f3af102a2819b7e179b00db7e0437 (patch)
tree2d08c4f8eeed52a2c1101d0fe1c16556d6da2b73 /test/functional/wallet-hd.py
parent9587a9c12b5d54263787a23c75f570db368318c1 (diff)
Create walletdir if datadir doesn't exist and fix tests
Diffstat (limited to 'test/functional/wallet-hd.py')
-rwxr-xr-xtest/functional/wallet-hd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet-hd.py b/test/functional/wallet-hd.py
index 9b6ce68609..d21656a971 100755
--- a/test/functional/wallet-hd.py
+++ b/test/functional/wallet-hd.py
@@ -73,7 +73,7 @@ class WalletHDTest(BitcoinTestFramework):
# otherwise node1 would auto-recover all funds in flag the keypool keys as used
shutil.rmtree(os.path.join(tmpdir, "node1/regtest/blocks"))
shutil.rmtree(os.path.join(tmpdir, "node1/regtest/chainstate"))
- shutil.copyfile(os.path.join(tmpdir, "hd.bak"), os.path.join(tmpdir, "node1/regtest/wallet.dat"))
+ shutil.copyfile(os.path.join(tmpdir, "hd.bak"), os.path.join(tmpdir, "node1/regtest/wallets/wallet.dat"))
self.start_node(1)
# Assert that derivation is deterministic