commit af7bcd4ca1ef81eeb8663c5289c9059d330f298a
parent f16358ec3c60cef07c63257a64315f53e044acb7
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 12 Mar 2021 16:11:47 +0100
add comments about ChannelBackup fields
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/electrum/lnchannel.py b/electrum/lnchannel.py
@@ -422,7 +422,9 @@ class ChannelBackup(AbstractChannel):
htlc_minimum_msat=1,
upfront_shutdown_script='')
self.config[REMOTE] = RemoteConfig(
+ # payment_basepoint needed to deobfuscate ctn in our_ctx
payment_basepoint=OnlyPubkeyKeypair(cb.remote_payment_pubkey),
+ # revocation_basepoint is used to claim to_local in our ctx
revocation_basepoint=OnlyPubkeyKeypair(cb.remote_revocation_pubkey),
to_self_delay=cb.remote_delay,
# dummy values