add minor comment for RouteEdge as clarification

This commit is contained in:
SomberNight 2018-06-18 19:18:39 +02:00 committed by ThomasV
parent 36519a535b
commit 6d8cae11dd

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