test, refactor: add default_wallet_name and wallet_data_filename variables

No changes in behavior
This commit is contained in:
Russell Yanofsky committed 2020-09-29 04:35:01 -04:00
1 parent ec9b4492eb
commit ed3acda33b
15 files changed
+38 -36

No files matched your search

+1 -1
View File
@@ -156,7 +156,7 @@ class WalletSendTest(BitcoinTestFramework):
def run_test(self):
self.log.info("Setup wallets...")
# w0 is a wallet with coinbase rewards
w0 = self.nodes[0].get_wallet_rpc("")
w0 = self.nodes[0].get_wallet_rpc(self.default_wallet_name)
# w1 is a regular wallet
self.nodes[1].createwallet(wallet_name="w1")
w1 = self.nodes[1].get_wallet_rpc("w1")