From 2d46050744e5570c97bb8b430901eb1ddb2ecfa1 Mon Sep 17 00:00:00 2001 From: Josselin Date: Tue, 11 Dec 2018 14:13:05 -0500 Subject: [PATCH] Fix incorrect unpacking in function summary printer (#104) --- slither/printers/summary/function.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slither/printers/summary/function.py b/slither/printers/summary/function.py index a56552035..bc23c1dad 100644 --- a/slither/printers/summary/function.py +++ b/slither/printers/summary/function.py @@ -38,7 +38,7 @@ class FunctionSummary(AbstractPrinter): "Write", "Internal Calls", "External Calls"]) - for (f_name, visi, modifiers, read, write, internal_calls, external_calls) in func_summaries: + for (_c_name, f_name, visi, modifiers, read, write, internal_calls, external_calls) in func_summaries: read = self._convert(read) write = self._convert(write) internal_calls = self._convert(internal_calls) @@ -51,7 +51,7 @@ class FunctionSummary(AbstractPrinter): "Write", "Internal Calls", "External Calls"]) - for (f_name, visi, _, read, write, internal_calls, external_calls) in modif_summaries: + for (_c_name, f_name, visi, _, read, write, internal_calls, external_calls) in modif_summaries: read = self._convert(read) write = self._convert(write) internal_calls = self._convert(internal_calls)