From f79e82910faa2967efd675157170250451a90426 Mon Sep 17 00:00:00 2001 From: Wukong Date: Tue, 14 Sep 2021 14:10:02 -0700 Subject: [PATCH] Print out an error message when `createwatchonly` failed due to missing password. --- jmclient/jmclient/wallet_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jmclient/jmclient/wallet_utils.py b/jmclient/jmclient/wallet_utils.py index fa0b06206..6c42f8755 100644 --- a/jmclient/jmclient/wallet_utils.py +++ b/jmclient/jmclient/wallet_utils.py @@ -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: