test, refactor: add default_wallet_name and wallet_data_filename variables
No changes in behavior
This commit is contained in:
1 parent
ec9b4492eb
commit
ed3acda33b
15 files changed
+38
-36
No files matched your search
@@ -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, self.chain, "wallets", "wallet.dat")
|
||||
wallet_path = os.path.join(self.nodes[1].datadir, self.chain, "wallets", self.default_wallet_name, self.wallet_data_filename)
|
||||
wallet_backup_path = os.path.join(self.nodes[1].datadir, "wallet.bak")
|
||||
self.nodes[0].generate(101)
|
||||
|
||||
|
||||
Reference in new issue
Block a user