From 5fbadafdb1198cf19439b4fb9aaa92cfad87224d Mon Sep 17 00:00:00 2001 From: SomberNight Date: Mon, 8 Oct 2018 15:37:08 +0200 Subject: [PATCH] follow-up lnwatcher changes --- electrum/lnbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnbase.py b/electrum/lnbase.py index a255a0853..092411fa7 100644 --- a/electrum/lnbase.py +++ b/electrum/lnbase.py @@ -736,7 +736,7 @@ class Peer(PrintError): m.remote_state = m.remote_state._replace(ctn=0) m.local_state = m.local_state._replace(ctn=0, current_commitment_signature=remote_sig) self.lnworker.save_channel(m) - self.lnwatcher.watch_channel(m, partial(self.lnworker.on_channel_utxos, m)) + self.lnwatcher.watch_channel(m.get_funding_address(), m.funding_outpoint.to_str(), partial(self.lnworker.on_channel_utxos, m)) self.lnworker.on_channels_updated() while True: try: