diff --git a/jmclient/jmclient/wallet_utils.py b/jmclient/jmclient/wallet_utils.py index dbc6b29..d32a3b0 100644 --- a/jmclient/jmclient/wallet_utils.py +++ b/jmclient/jmclient/wallet_utils.py @@ -1419,6 +1419,13 @@ def wallet_tool_main(wallet_root_path): seed = args[0] wallet_path = get_wallet_path(seed, wallet_root_path) method = ('display' if len(args) == 1 else args[1].lower()) + + # no-seed methods are incompatible with a provided wallet: + if method in noseed_methods: + parser.error("The method '" + method + \ + "' is not compatible with a wallet filename.") + sys.exit(EXIT_ARGERROR) + read_only = method in readonly_methods #special case needed for fidelity bond burner outputs