Skip to content

Commit

Permalink
Actually read block 8
Browse files Browse the repository at this point in the history
  • Loading branch information
vr2262 committed Apr 15, 2017
1 parent 0f95b91 commit fc34605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minigrid/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ def _pack_into_dict(session, binary):
new_result[5] = binary[34:66].hex()
block_8_length = int.from_bytes(unhexlify(binary[34:38]), 'big')
new_result[6] = result[6]
new_result[8] = binary[67:67+block_8_length*32].hex()
new_result[8] = binary[100:100+block_8_length*32].hex()
result = new_result
return json_encode(result)

Expand Down

0 comments on commit fc34605

Please sign in to comment.