commit b3eb8592f3cb55c39b9dee29b1ba8e810dacb4a6
parent 23ece8b33b2dec3e3af8d20e30b4ff54de7fc688
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 16 Jan 2021 23:19:57 +0100
upfront_shutdown_script: fix ChannelBackup constructor
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/electrum/lnchannel.py b/electrum/lnchannel.py
@@ -420,7 +420,7 @@ class ChannelBackup(AbstractChannel):
current_commitment_signature=None,
current_htlc_signatures=b'',
htlc_minimum_msat=1,
- )
+ upfront_shutdown_script='')
self.config[REMOTE] = RemoteConfig(
payment_basepoint=OnlyPubkeyKeypair(cb.remote_payment_pubkey),
revocation_basepoint=OnlyPubkeyKeypair(cb.remote_revocation_pubkey),
@@ -436,8 +436,8 @@ class ChannelBackup(AbstractChannel):
reserve_sat = None,
htlc_minimum_msat=None,
next_per_commitment_point=None,
- current_per_commitment_point=None)
-
+ current_per_commitment_point=None,
+ upfront_shutdown_script='')
self.node_id = cb.node_id
self.channel_id = cb.channel_id()
self.funding_outpoint = cb.funding_outpoint()