Browse Source

lnbase: fix NameError

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
Janus 6 years ago
committed by ThomasV
parent
commit
37a0315aab
  1. 2
      electrum/lnbase.py

2
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.

Loading…
Cancel
Save