Skip to content

Commit

Permalink
dnet: sort outbound slots by index, not index and ID, thus improving …
Browse files Browse the repository at this point in the history
…display
  • Loading branch information
lunar-mining committed Oct 20, 2023
1 parent 645a82d commit fda1454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/dnet/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def handle_nodes(self, node):

assert id in channel_lookup
url = channel_lookup[id]["url"]
self.info.update_outbound(f"{id}", url)
self.info.update_outbound(f"{i}", url)

for channel in channels:
if channel["session"] != "seed":
Expand Down

0 comments on commit fda1454

Please sign in to comment.