From ebfd0e1d9e2b5c15f023063fe4a534307dc286d8 Mon Sep 17 00:00:00 2001 From: Josselin Date: Wed, 27 May 2020 14:24:22 +0200 Subject: [PATCH] Use contract_declarer in call graph printer --- slither/printers/call/call_graph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slither/printers/call/call_graph.py b/slither/printers/call/call_graph.py index 4c3058ad6..deab6594b 100644 --- a/slither/printers/call/call_graph.py +++ b/slither/printers/call/call_graph.py @@ -53,9 +53,9 @@ class PrinterCallGraph(AbstractPrinter): all_contracts = set() for function in functions: - all_contracts.add(function.contract) + all_contracts.add(function.contract_declarer) for function in functions: - self._process_function(function.contract, + self._process_function(function.contract_declarer, function, contract_functions, contract_calls,