From b4ba6f550cd25d15bfb99eb90a7bd0ea2950dd95 Mon Sep 17 00:00:00 2001 From: palinatolmach Date: Wed, 16 Oct 2024 16:08:46 +0800 Subject: [PATCH] Code quality fix --- src/kontrol/solc_to_k.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(