Skip to content

Commit

Permalink
fix: Fix incorrect use of contract.update Update get_hashes_page.py
Browse files Browse the repository at this point in the history
  • Loading branch information
0xwitty authored Dec 18, 2024
1 parent e62ee66 commit 9e5d1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get_hashes_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def generate_doc_file(cmp_version, contracts):

def remove_prefix_from_names(contracts):
for contract in contracts:
contract.update([("name", remove_prefix(contract['name'], 'openzeppelin_presets_'))])
contract['name'] = remove_prefix(contract['name'], 'openzeppelin_presets_')
return contracts


Expand Down

0 comments on commit 9e5d1ce

Please sign in to comment.