commit 5fbadafdb1198cf19439b4fb9aaa92cfad87224d
parent 6e5b36e661e7a89a3781d437443a97ab762f942d
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 8 Oct 2018 15:37:08 +0200
follow-up lnwatcher changes
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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: