From b3eb8592f3cb55c39b9dee29b1ba8e810dacb4a6 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 16 Jan 2021 23:19:57 +0100 Subject: [PATCH] upfront_shutdown_script: fix ChannelBackup constructor --- electrum/lnchannel.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/electrum/lnchannel.py b/electrum/lnchannel.py index 32115a065..4f5413efb 100644 --- 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()