Skip to content

Commit

Permalink
Data hash to a dict
Browse files Browse the repository at this point in the history
  • Loading branch information
james-strauss-uwa committed Aug 12, 2022
1 parent f5123a4 commit 8397177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/xml2palette/xml2palette.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def create_palette_node_from_params(params):
def write_palette_json(outputfile, nodes, gitrepo, version, block_dag):
# add hashes from block_dag to the nodes
for i in range(len(nodes)):
nodes[i].dataHash = block_dag[i]['data_hash'];
nodes[i]['dataHash'] = block_dag[i]['data_hash'];

# create the palette object
palette = {
Expand Down

0 comments on commit 8397177

Please sign in to comment.