From 37a0315aab8210e18665c1d8719e7b600c6797d4 Mon Sep 17 00:00:00 2001 From: Janus Date: Mon, 17 Dec 2018 18:40:30 +0100 Subject: [PATCH] lnbase: fix NameError --- electrum/lnbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnbase.py b/electrum/lnbase.py index 9e5713095..8c15e0d84 100644 --- a/electrum/lnbase.py +++ b/electrum/lnbase.py @@ -592,7 +592,7 @@ class Peer(PrintError): "remote_commitment_to_be_revoked": None, } chan = Channel(chan_dict, - sweep_adddress=self.lnworker.sweep_address, + sweep_address=self.lnworker.sweep_address, payment_completed=self.lnworker.payment_completed) chan.lnwatcher = self.lnwatcher chan.get_preimage_and_invoice = self.lnworker.get_invoice # FIXME hack.