Skip to content

Commit

Permalink
Print out an error message when createwatchonly failed due to missi…
Browse files Browse the repository at this point in the history
…ng password.
  • Loading branch information
Wukong committed Sep 14, 2021
1 parent 52d1fac commit f79e829
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jmclient/jmclient/wallet_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,7 @@ def wallet_createwatchonly(wallet_root_path, master_pub_key, is_fidelity_bond_wa

password = cli_get_wallet_passphrase_check()
if not password:
jmprint("The passphrase can not be empty", "error")
return ""

if is_fidelity_bond_wallet:
Expand Down

0 comments on commit f79e829

Please sign in to comment.