Skip to content

Commit

Permalink
use zero
Browse files Browse the repository at this point in the history
  • Loading branch information
daejunpark committed Aug 22, 2024
1 parent 9b98bdd commit 7850b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/halmos/sevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2481,7 +2481,7 @@ def finalize(ex: Exec):
addr = alias_addr if alias_addr is not None else account_addr
account_code: Contract | None = ex.code.get(addr)
codehash = (
con(0)
ZERO
if account_code is None
else ex.sha3_data(account_code._code.unwrap())
)
Expand Down

0 comments on commit 7850b36

Please sign in to comment.