Skip to content

Commit

Permalink
Code quality fix
Browse files Browse the repository at this point in the history
  • Loading branch information
palinatolmach committed Oct 16, 2024
1 parent 685dcca commit b4ba6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kontrol/solc_to_k.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b4ba6f5

Please sign in to comment.