mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-03 04:01:43 +02:00
test, refactor: add default_wallet_name and wallet_data_filename variables
No changes in behavior
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user