diff --git a/core/src/apps/common/readers.py b/core/src/apps/common/readers.py index 0a9114ee45..f60e9e5a52 100644 --- a/core/src/apps/common/readers.py +++ b/core/src/apps/common/readers.py @@ -55,3 +55,8 @@ def read_uint16_le(r: BufferReader) -> int: def read_uint32_le(r: BufferReader) -> int: data = r.read_memoryview(4) return int.from_bytes(data, "little") + + +def read_uint64_le(r: BufferReader) -> int: + data = r.read_memoryview(8) + return int.from_bytes(data, "little")