diff --git a/src/kontrol/solc_to_k.py b/src/kontrol/solc_to_k.py index 2c8a34181..e3e981c16 100644 --- a/src/kontrol/solc_to_k.py +++ b/src/kontrol/solc_to_k.py @@ -857,7 +857,7 @@ def process_references(bytecode: dict, target_lib_refs: dict, update_link_ranges msig = method_sig_from_abi(method) method_selector: str = str(evm['methodIdentifiers'][msig]) mid = int(method_selector, 16) - method_ast = function_asts[method_selector] if method_selector in function_asts else None + method_ast = function_asts[method_selector] if method_selector in function_asts else {} method_devdoc = devdoc.get(msig) method_calls = find_function_calls(method_ast, self.fields) _m = Contract.Method(