add minor comment for RouteEdge as clarification

This commit is contained in:
SomberNight 2018-06-18 19:18:39 +02:00
parent 9cbca2a944
commit d8500f5e76
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

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