commit 37a0315aab8210e18665c1d8719e7b600c6797d4
parent 1d8fe52fa3d54cceb034d44ccea98a3b54eaebe9
Author: Janus <ysangkok@gmail.com>
Date: Mon, 17 Dec 2018 18:40:30 +0100
lnbase: fix NameError
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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.