Browse Source

add minor comment for RouteEdge as clarification

regtest_lnd
SomberNight 7 years ago
parent
commit
e1e6d255ba
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 1
      lib/lnrouter.py

1
lib/lnrouter.py

@ -142,6 +142,7 @@ class RouteEdge:
def __init__(self, node_id: bytes, short_channel_id: bytes, def __init__(self, node_id: bytes, short_channel_id: bytes,
channel_policy: ChannelInfoDirectedPolicy): channel_policy: ChannelInfoDirectedPolicy):
# "if you travel through short_channel_id, you will reach node_id"
self.node_id = node_id self.node_id = node_id
self.short_channel_id = short_channel_id self.short_channel_id = short_channel_id
self.channel_policy = channel_policy self.channel_policy = channel_policy

Loading…
Cancel
Save