Browse Source

commands: add comment to load_wallet re "unlock" quirk

master
SomberNight 2 years ago
parent
commit
1705e47a88
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 1
      electrum/commands.py

1
electrum/commands.py

@ -254,6 +254,7 @@ class Commands:
if wallet is None:
raise UserFacingException('could not load wallet')
if unlock:
# FIXME if this raises, load_wallet() above still succeeded...
wallet.unlock(password)
run_hook('load_wallet', wallet, None)

Loading…
Cancel
Save