Skip to content

Commit 340f2c4

Browse files
committed
remove commented code
1 parent 2888f7a commit 340f2c4

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

multiversx_sdk_cli/config_wallet.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,6 @@ def set_value(name: str, value: str, alias: str):
104104
data["wallets"] = available_wallets
105105
_write_file(data)
106106

107-
# active_env = data.get("active", "default")
108-
# data.setdefault("wallets", {})
109-
# data["wallets"].setdefault(active_env, {})
110-
# data["wallets"][active_env][name] = value
111-
# _write_file(data)
112-
113107

114108
def _write_file(data: dict[str, Any]):
115109
env_path = resolve_wallet_config_path()
@@ -170,12 +164,6 @@ def delete_config_value(key: str, alias: str):
170164
data["wallets"] = available_wallets
171165
_write_file(data)
172166

173-
# active_env = data.get("active", "default")
174-
# data.setdefault("wallets", {})
175-
# data["wallets"].setdefault(active_env, {})
176-
# del data["wallets"][active_env][key]
177-
# _write_file(data)
178-
179167

180168
def delete_alias(name: str):
181169
"""Deletes the wallet configuration with the given name."""

0 commit comments

Comments
 (0)