We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1c7313 commit 395fc79Copy full SHA for 395fc79
src/aleph/sdk/account.py
@@ -78,7 +78,7 @@ def account_from_file(
78
return account_type(private_key) # type: ignore
79
80
account_type = load_chain_account_type(chain)
81
- account = account_type(private_key, chain)
+ account = account_type(private_key)
82
if chain in get_chains_with_super_token():
83
account.switch_chain(chain)
84
return account
@@ -106,8 +106,6 @@ def _load_account(
106
logger.warning(
107
f"No main configuration found on path {settings.CONFIG_FILE}, defaulting to {chain}"
108
)
109
- else:
110
- chain = default_chain
111
112
# Loads configuration if no account_type is specified
113
if not account_type:
0 commit comments