Skip to content

Commit

Permalink
Use empty code to denote address (#1559)
Browse files Browse the repository at this point in the history
  • Loading branch information
norhh authored Nov 21, 2021
1 parent 0136b4a commit 58a3672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythril/laser/ethereum/state/world_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def accounts_exist_or_load(self, addr, dynamic_loader: DynLoader) -> Account:
try:
code = dynamic_loader.dynld(addr)
except ValueError:
code = Disassembly("0x")
code = None
return self.create_account(
address=addr_bitvec.value, dynamic_loader=dynamic_loader, code=code,
)
Expand Down

0 comments on commit 58a3672

Please sign in to comment.