lnbase: update gui after accomodating channel opening request

This commit is contained in:
Janus 2018-10-04 14:44:58 +02:00 committed by SomberNight
parent 77479068c5
commit 7d5e1a0932
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -734,6 +734,7 @@ class Peer(PrintError):
m.local_state = m.local_state._replace(ctn=0, current_commitment_signature=remote_sig)
self.lnworker.save_channel(m)
self.lnwatcher.watch_channel(m, m.sweep_address, partial(self.lnworker.on_channel_utxos, m))
self.lnworker.on_channels_updated()
while True:
try:
funding_tx = Transaction(await self.network.get_transaction(funding_txid))