diff --git a/mythril/analysis/modules/delegatecall_forward.py b/mythril/analysis/modules/delegatecall_forward.py index 1da2b18c..a3190bd2 100644 --- a/mythril/analysis/modules/delegatecall_forward.py +++ b/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