diff --git a/slither/printers/summary/external_calls.py b/slither/printers/summary/external_calls.py index 647641838..03203e7bf 100644 --- a/slither/printers/summary/external_calls.py +++ b/slither/printers/summary/external_calls.py @@ -33,14 +33,14 @@ def output(self, _): for target_contract, target_function in node.high_level_calls: row = [ - f"{contract.name}.{function.name} {node.source_mapping.lines}", + f"{function.canonical_name} {node.source_mapping.to_detailed_str()}", f"{target_contract.name}.{target_function}", ] if function.all_reachable_from_functions: for source in function.all_reachable_from_functions: - chain = f"{source.contract.name}.{source.name} -> {contract.name}.{function.name}" + chain = f"{source.canonical_name} -> {function.canonical_name}" table.add_row( [ *row,