commit 0d451870edb8fa65549513815441989a4ca53af5
parent 0b295cb72e0029c6e97e36a614c12cbf5b2c2989
Author: parazyd <parazyd@dyne.org>
Date: Fri, 16 Apr 2021 02:50:58 +0200
block_to_header: Remove TODO
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/obelisk/util.py b/obelisk/util.py
@@ -81,7 +81,6 @@ def block_to_header(block):
"""Return block header from raw block"""
if not isinstance(block, (bytes, bytearray)):
raise ValueError("block is not of type bytes/bytearray")
- # TODO: check endianness
block_header = block[:80]
# version = block_header[:4]
# prev_merkle_root = block_header[4:36]