Merge pull request #491 from crytic/dev-fix-call-graph-printer

Use contract_declarer in call graph printer
pull/512/head
Feist Josselin 5 years ago committed by GitHub
commit 361dcbe790
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      slither/printers/call/call_graph.py

@ -53,9 +53,9 @@ class PrinterCallGraph(AbstractPrinter):
all_contracts = set() all_contracts = set()
for function in functions: for function in functions:
all_contracts.add(function.contract) all_contracts.add(function.contract_declarer)
for function in functions: for function in functions:
self._process_function(function.contract, self._process_function(function.contract_declarer,
function, function,
contract_functions, contract_functions,
contract_calls, contract_calls,

Loading…
Cancel
Save