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 cde1e2f commit 745df74Copy full SHA for 745df74
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)
+ account = account_type(private_key, chain)
82
if chain in get_chains_with_super_token():
83
account.switch_chain(chain)
84
return account
@@ -101,7 +101,7 @@ def _load_account(
101
f"Detected {config.chain} account for path {settings.CONFIG_FILE}"
102
)
103
else:
104
- account_type = account_type = load_chain_account_type(
+ account_type = load_chain_account_type(
105
Chain.ETH
106
) # Defaults to ETHAccount
107
logger.warning(
0 commit comments