Skip to content

Commit 12db402

Browse files
author
Andres D. Molins
committed
Fix: Solve issue with str chain value
1 parent d97a1e1 commit 12db402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/sdk/chains/evm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class EVMAccount(ETHAccount):
1313
def __init__(self, private_key: bytes, chain: Optional[Chain] = None):
1414
super().__init__(private_key, chain)
1515
if chain:
16-
self.CHAIN = chain.value
16+
self.CHAIN = chain
1717

1818
@staticmethod
1919
def from_mnemonic(mnemonic: str, chain: Optional[Chain] = None) -> "EVMAccount":

0 commit comments

Comments
 (0)