Skip to content

Commit

Permalink
Ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
MissingNO57 committed May 17, 2024
1 parent 7c3180e commit e8c14b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/prune_genesis_codes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import copy
import json
import os
from collections import OrderedDict


def load_json_file(filename):
Expand Down Expand Up @@ -54,7 +55,7 @@ def main():

print("Building code hashes map")
# Create maps with code hashes and IDs
original_code_hash_to_code = {}
original_code_hash_to_code = OrderedDict()
original_code_id_to_hash = {}
for code in codes:
code_hash = code["code_info"]["code_hash"]
Expand Down

0 comments on commit e8c14b2

Please sign in to comment.