electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 3d88d6870cf509632d2cdcfd8beabd973a8c363f
parent 8e08ca7cb11f0addec8d82adc8ac6db01557f4f1
Author: SomberNight <somber.night@protonmail.com>
Date:   Fri, 22 Nov 2019 15:48:22 +0100

cli: fix load_wallet for storage-encrypted wallets

Diffstat:
Melectrum/commands.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/electrum/commands.py b/electrum/commands.py @@ -197,9 +197,9 @@ class Commands: for path, w in self.daemon.get_wallets().items()] @command('n') - async def load_wallet(self, wallet_path=None): + async def load_wallet(self, wallet_path=None, password=None): """Open wallet in daemon""" - wallet = self.daemon.load_wallet(wallet_path, self.config.get('password')) + wallet = self.daemon.load_wallet(wallet_path, password) if wallet is not None: run_hook('load_wallet', wallet, None) response = wallet is not None