Browse Source

Merge #749: Fixes #742

80a324d Fixes #742 (Adam Gibson)
master
Adam Gibson 5 years ago
parent
commit
fd1afd2658
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  1. 7
      jmclient/jmclient/wallet_utils.py

7
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

Loading…
Cancel
Save