Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
popenta committed Jul 17, 2024
1 parent e05c3f8 commit f44e42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiversx_sdk_cli/cli_wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def wallet_new(args: Any):
address_hrp = args.address_hrp
shard = args.shard

if shard:
if shard is not None:
if shard not in CURRENT_SHARDS:
raise BadUserInput(f"Wrong shard provided. Choose between {CURRENT_SHARDS}")

Expand Down

0 comments on commit f44e42b

Please sign in to comment.