Skip to content

Commit c62cc4e

Browse files
committed
fix path for bak file
1 parent 438e94d commit c62cc4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qa/rpc-tests/wallet-hd.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def run_test (self):
3939
self.nodes[1].importprivkey(self.nodes[0].dumpprivkey(non_hd_add))
4040

4141
# This should be enough to keep the master key and the non-HD key
42-
self.nodes[1].backupwallet(tmpdir + "hd.bak")
43-
#self.nodes[1].dumpwallet(tmpdir + "hd.dump")
42+
self.nodes[1].backupwallet(tmpdir + "/hd.bak")
43+
#self.nodes[1].dumpwallet(tmpdir + "/hd.dump")
4444

4545
# Derive some HD addresses and remember the last
4646
# Also send funds to each add
@@ -63,7 +63,7 @@ def run_test (self):
6363
print("Restore backup ...")
6464
self.stop_node(1)
6565
os.remove(self.options.tmpdir + "/node1/regtest/wallet.dat")
66-
shutil.copyfile(tmpdir + "hd.bak", tmpdir + "/node1/regtest/wallet.dat")
66+
shutil.copyfile(tmpdir + "/hd.bak", tmpdir + "/node1/regtest/wallet.dat")
6767
self.nodes[1] = start_node(1, self.options.tmpdir, self.node_args[1])
6868
#connect_nodes_bi(self.nodes, 0, 1)
6969

0 commit comments

Comments
 (0)