walletDB: replace 'manual_upgrades' parameter with 'upgrade', with opposite semantics
This commit is contained in:
@@ -241,7 +241,7 @@ class Commands:
|
||||
@command('n')
|
||||
async def load_wallet(self, wallet_path=None, password=None):
|
||||
"""Open wallet in daemon"""
|
||||
wallet = self.daemon.load_wallet(wallet_path, password, manual_upgrades=False)
|
||||
wallet = self.daemon.load_wallet(wallet_path, password, upgrade=True)
|
||||
if wallet is not None:
|
||||
run_hook('load_wallet', wallet, None)
|
||||
response = wallet is not None
|
||||
|
||||
Reference in New Issue
Block a user