From af7bcd4ca1ef81eeb8663c5289c9059d330f298a Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 12 Mar 2021 16:11:47 +0100 Subject: [PATCH] add comments about ChannelBackup fields --- electrum/lnchannel.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/lnchannel.py b/electrum/lnchannel.py index d387c4e87..2c2b8a155 100644 --- 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