Browse Source

cli restore: fix imported privkeys with password

closes #4894
3.3.3.1
SomberNight 6 years ago
parent
commit
ff454ab29d
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/commands.py

2
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")

Loading…
Cancel
Save