lnbase: update gui after accomodating channel opening request
This commit is contained in:
@@ -734,6 +734,7 @@ class Peer(PrintError):
|
|||||||
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, m.sweep_address, partial(self.lnworker.on_channel_utxos, m))
|
self.lnwatcher.watch_channel(m, m.sweep_address, partial(self.lnworker.on_channel_utxos, m))
|
||||||
|
self.lnworker.on_channels_updated()
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
funding_tx = Transaction(await self.network.get_transaction(funding_txid))
|
funding_tx = Transaction(await self.network.get_transaction(funding_txid))
|
||||||
|
|||||||
Reference in New Issue
Block a user