Skip to content

Commit 7a44894

Browse files
committed
minor fix
1 parent 2158f33 commit 7a44894

File tree

1 file changed

+1
-1
lines changed
  • src/ethereum_spec_tools/evm_tools/t8n

1 file changed

+1
-1
lines changed

src/ethereum_spec_tools/evm_tools/t8n/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def read_block_hashes(self, data: Any, t8n: "T8N") -> None:
252252
clean_block_hashes: Dict[int, Hash32] = {}
253253
if "blockHashes" in data:
254254
for key, value in data["blockHashes"].items():
255-
int_key = int(key, 16)
255+
int_key = int(key)
256256
clean_block_hashes[int_key] = Hash32(hex_to_bytes(value))
257257

258258
# Store a maximum of 256 block hashes.

0 commit comments

Comments
 (0)