plebnet dashboard with prod graph
bliotti opened this issue · 0 comments
bliotti commented
Tried replacing prod lnd's describegraph.json
in plebnet dashboard visualizer. (This is suggested in readme)
but dashboard logs throws a missing attribute error.
Should it be f['name']
not f.name
?
found graph data: describegraph.json
{'name': 'data-loss-protect', 'is_required': False, 'is_known': True}
Traceback (most recent call last):
File "dashboard.py", line 444, in <module>
MG = get_node_multigraph(response)
File "dashboard.py", line 133, in get_node_multigraph
last_update=node.last_update)) for node in response.nodes))
File "/opt/conda/lib/python3.7/site-packages/networkx/classes/digraph.py", line 472, in add_nodes_from
for n in nodes_for_adding:
File "dashboard.py", line 133, in <genexpr>
last_update=node.last_update)) for node in response.nodes))
File "dashboard.py", line 115, in get_features
results[k] = dict(name=f.name,
AttributeError: 'dict' object has no attribute 'name'