commands: add comment to load_wallet re "unlock" quirk
This commit is contained in:
@@ -254,6 +254,7 @@ class Commands:
|
|||||||
if wallet is None:
|
if wallet is None:
|
||||||
raise UserFacingException('could not load wallet')
|
raise UserFacingException('could not load wallet')
|
||||||
if unlock:
|
if unlock:
|
||||||
|
# FIXME if this raises, load_wallet() above still succeeded...
|
||||||
wallet.unlock(password)
|
wallet.unlock(password)
|
||||||
run_hook('load_wallet', wallet, None)
|
run_hook('load_wallet', wallet, None)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user