Skip to content

Commit

Permalink
Revert "fix var name to the correct number of bytes"
Browse files Browse the repository at this point in the history
This reverts commit 8dcc9f5.
  • Loading branch information
Jonathan Afek authored and Jonathan Afek committed Jun 19, 2019
1 parent 8dcc9f5 commit 31bbef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create_trustcache.py
Expand Up @@ -36,8 +36,8 @@ def create_tc(hashes):

#write the hash itself
for i in xrange(5):
eight_bytes = hash_txt[i * 8 : (i + 1) * 8]
number = int(eight_bytes, 16)
four_bytes = hash_txt[i * 8 : (i + 1) * 8]
number = int(four_bytes, 16)
tc += struct.pack(">I", number)

#hash type
Expand Down

0 comments on commit 31bbef9

Please sign in to comment.