From ff454ab29dd374fb2998ef748ab3969e13e0f172 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Mon, 3 Dec 2018 12:46:12 +0100 Subject: [PATCH] cli restore: fix imported privkeys with password closes #4894 --- electrum/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/commands.py b/electrum/commands.py index 40a8142cf..3acf79528 100644 --- 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")