From f44e42b2702b71af97759994ff1529503a133a01 Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Wed, 17 Jul 2024 14:45:53 +0300 Subject: [PATCH] small fix --- multiversx_sdk_cli/cli_wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multiversx_sdk_cli/cli_wallet.py b/multiversx_sdk_cli/cli_wallet.py index c789b860..f9433fd3 100644 --- a/multiversx_sdk_cli/cli_wallet.py +++ b/multiversx_sdk_cli/cli_wallet.py @@ -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}")