Use empty code to denote address (#1559)

pull/1562/head
Nikhil Parasaram 3 years ago committed by GitHub
parent 0136b4a1f9
commit 58a36720f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mythril/laser/ethereum/state/world_state.py

@ -112,7 +112,7 @@ class WorldState:
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,
)

Loading…
Cancel
Save