fix: named ERC20Infomation
This commit is contained in:
@@ -3,7 +3,7 @@ from typing import Union
|
||||
|
||||
from ethereum_client.utils import apdu_as_string, write_varint
|
||||
|
||||
class ERC20_Information:
|
||||
class ERC20Information:
|
||||
def __init__(self, erc20_ticker: string , addr: Union[str, bytes], nb_decimals: int, chainID: int, sign: str) -> None:
|
||||
self.erc20_ticker: bytes = apdu_as_string(erc20_ticker)
|
||||
self.addr: bytes = bytes.fromhex(addr[2:]) if isinstance(addr, str) else addr
|
||||
|
||||
Reference in New Issue
Block a user