commit ff454ab29dd374fb2998ef748ab3969e13e0f172
parent e1fb75a81df87175402b4bfe851bbaf5434e0090
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 3 Dec 2018 12:46:12 +0100
cli restore: fix imported privkeys with password
closes #4894
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/commands.py b/electrum/commands.py
@@ -176,7 +176,7 @@ class Commands:
storage.put('keystore', k.dump())
wallet = Imported_Wallet(storage)
keys = keystore.get_private_keys(text)
- good_inputs, bad_inputs = wallet.import_private_keys(keys, password)
+ good_inputs, bad_inputs = wallet.import_private_keys(keys, None)
# FIXME tell user about bad_inputs
if not good_inputs:
raise Exception("None of the given privkeys can be imported")