mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-07 03:03:58 +01:00
test, refactor: add default_wallet_name and wallet_data_filename variables
No changes in behavior
This commit is contained in:
@@ -29,7 +29,7 @@ class DeprecatedRpcTest(BitcoinTestFramework):
|
||||
self.nodes[0].generate(101)
|
||||
self.nodes[0].createwallet(wallet_name='nopriv', disable_private_keys=True)
|
||||
noprivs0 = self.nodes[0].get_wallet_rpc('nopriv')
|
||||
w0 = self.nodes[0].get_wallet_rpc('')
|
||||
w0 = self.nodes[0].get_wallet_rpc(self.default_wallet_name)
|
||||
self.nodes[1].createwallet(wallet_name='nopriv', disable_private_keys=True)
|
||||
noprivs1 = self.nodes[1].get_wallet_rpc('nopriv')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user