From 6b50684d6194af853136d29ccfba6235ca91ceef Mon Sep 17 00:00:00 2001 From: alpharush <0xalpharush@protonmail.com> Date: Tue, 31 Jan 2023 11:58:03 -0600 Subject: [PATCH] use enum value --- slither/core/cfg/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/core/cfg/node.py b/slither/core/cfg/node.py index 80bc221ae..f2af8dc57 100644 --- a/slither/core/cfg/node.py +++ b/slither/core/cfg/node.py @@ -975,7 +975,7 @@ class Node(SourceMapping, ChildFunction): # pylint: disable=too-many-public-met additional_info += " " + str(self.expression) elif self.variable_declaration: additional_info += " " + str(self.variable_declaration) - txt = str(self._node_type) + additional_info + txt = self._node_type.value + additional_info return txt