tadd minor comment for RouteEdge as clarification - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 6d8cae11dd41c1a15c8ec10729fe079c21d1b43d
DIR parent 36519a535be16ef67c55d7a5bcacad40cc27ed33
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 18 Jun 2018 19:18:39 +0200
add minor comment for RouteEdge as clarification
Diffstat:
M lib/lnrouter.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/lib/lnrouter.py b/lib/lnrouter.py
t@@ -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