Fix delegatecall_forward detection

pull/53/head
Bernhard Mueller 7 years ago
parent 99af003bc1
commit a6d1164d5b
  1. 2
      mythril/analysis/modules/delegatecall_forward.py

@ -27,7 +27,7 @@ def execute(statespace):
else:
visited.append(call.addr)
if (call.type == "DELEGATECALL") and (call.node.function_name == "main"):
if (call.type == "DELEGATECALL") and (call.node.function_name == "fallback"):
stack = call.state.stack

Loading…
Cancel
Save