Skip to content

Commit

Permalink
fix: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
eugypalu committed Sep 18, 2024
1 parent 69b7ba1 commit e8b58cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kakarot_scripts/withdraw_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_contracts():
}
response = requests.get(url, headers=headers)
return [
dict((item["name"], item["value"]) for item in event["dataDecoded"])
{item["name"]: item["value"] for item in event["dataDecoded"]}
for event in response.json()["items"]
if event.get("name") == "evm_contract_deployed"
]
Expand Down

0 comments on commit e8b58cf

Please sign in to comment.