diff --git a/client/src/ledger_app_clients/ethereum/client.py b/client/src/ledger_app_clients/ethereum/client.py index d90aaaa8f..302e3604c 100644 --- a/client/src/ledger_app_clients/ethereum/client.py +++ b/client/src/ledger_app_clients/ethereum/client.py @@ -1,3 +1,4 @@ +# from binascii import crc32 import rlp from enum import IntEnum from ragger.backend import BackendInterface @@ -46,6 +47,7 @@ class NetworkInfoTag(IntEnum): NETWORK_TICKER = 0x13 NETWORK_ICON = 0x14 SIGNATURE = 0x21 + CRC32 = 0x22 class PKIPubKeyUsage(IntEnum): @@ -438,6 +440,7 @@ def _prepare_network_info(self, payload += icon payload += format_tlv(NetworkInfoTag.SIGNATURE, sign_data(Key.DOMAIN_NAME, payload)) + # payload += format_tlv(NetworkInfoTag.CRC32, crc32(payload).to_bytes(4, 'big')) return payload def provide_network_information(self,