Skip to content

Commit

Permalink
tank: remove unnecessary code
Browse files Browse the repository at this point in the history
we already automatically parse graph schema properties
  • Loading branch information
pinheadmz committed Aug 19, 2024
1 parent d3f473e commit 3daba01
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/warnet/tank.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ def parse_graph_node(self, node):
else:
raise Exception(f"Unsupported Lightning Network implementation: {options['impl']}")

if "metrics" in node:
self.metrics = node["metrics"]

logger.debug(
f"Parsed graph node: {self.index} with attributes: {[f'{key}={value}' for key, value in graph_properties.items()]}"
)
Expand Down

0 comments on commit 3daba01

Please sign in to comment.