use enum value

pull/1636/head
alpharush 2 years ago
parent fb964e7af7
commit 6b50684d61
  1. 2
      slither/core/cfg/node.py

@ -975,7 +975,7 @@ class Node(SourceMapping, ChildFunction): # pylint: disable=too-many-public-met
additional_info += " " + str(self.expression) additional_info += " " + str(self.expression)
elif self.variable_declaration: elif self.variable_declaration:
additional_info += " " + str(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 return txt

Loading…
Cancel
Save