Skip to content

Commit

Permalink
fix node stat data from rest api
Browse files Browse the repository at this point in the history
  • Loading branch information
HarukaMa committed Feb 7, 2024
1 parent b26004b commit 6ef4acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/light_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ async def ping_task():
if r.ok:
data = await r.json()
for p in data:
peer_types[p[0]] = p[1]
peer_types[p[0]] = NodeType[p[1]]
except Exception:
pass
for peer in msg.peers:
Expand Down

0 comments on commit 6ef4acc

Please sign in to comment.