mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-16 12:36:25 +00:00
typo
This commit is contained in:
parent
9582814c62
commit
257fcd9c79
@ -569,7 +569,7 @@ def int_to_bytes(n: uint64, length: uint64) -> bytes:
|
|||||||
```python
|
```python
|
||||||
def bytes_to_int(data: bytes) -> uint64:
|
def bytes_to_int(data: bytes) -> uint64:
|
||||||
"""
|
"""
|
||||||
Return the integer deserialization of ``data`` intepretted as ``ENDIANNESS``-endian.
|
Return the integer deserialization of ``data`` intepreted as ``ENDIANNESS``-endian.
|
||||||
"""
|
"""
|
||||||
return int.from_bytes(data, ENDIANNESS)
|
return int.from_bytes(data, ENDIANNESS)
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user