aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_keypool_topup.py
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2019-08-22 18:17:31 +0200
committerJorge Timón <jtimon@jtimon.cc>2019-10-26 13:24:39 +0200
commit1abcecc40c518a98b7d17880657ec0247abdf125 (patch)
treeb78f9540641279b72e2288e278b54ef08c6c2fcb /test/functional/wallet_keypool_topup.py
parentbe50469217bd775c4305938634c32e5932f47841 (diff)
downloadbitcoin-1abcecc40c518a98b7d17880657ec0247abdf125.tar.xz
Tests: Use self.chain instead of 'regtest' in almost all current tests
Diffstat (limited to 'test/functional/wallet_keypool_topup.py')
-rwxr-xr-xtest/functional/wallet_keypool_topup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_keypool_topup.py b/test/functional/wallet_keypool_topup.py
index 2e70a9e0a5..829633a050 100755
--- a/test/functional/wallet_keypool_topup.py
+++ b/test/functional/wallet_keypool_topup.py
@@ -30,7 +30,7 @@ class KeypoolRestoreTest(BitcoinTestFramework):
self.skip_if_no_wallet()
def run_test(self):
- wallet_path = os.path.join(self.nodes[1].datadir, "regtest", "wallets", "wallet.dat")
+ wallet_path = os.path.join(self.nodes[1].datadir, self.chain, "wallets", "wallet.dat")
wallet_backup_path = os.path.join(self.nodes[1].datadir, "wallet.bak")
self.nodes[0].generate(101)