follow-up lnwatcher changes

This commit is contained in:
SomberNight 2018-10-08 15:37:08 +02:00
parent 6bdd8b87a0
commit f680708b87
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -736,7 +736,7 @@ class Peer(PrintError):
m.remote_state = m.remote_state._replace(ctn=0) m.remote_state = m.remote_state._replace(ctn=0)
m.local_state = m.local_state._replace(ctn=0, current_commitment_signature=remote_sig) m.local_state = m.local_state._replace(ctn=0, current_commitment_signature=remote_sig)
self.lnworker.save_channel(m) 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() self.lnworker.on_channels_updated()
while True: while True:
try: try: