mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
lnworker: return txid from force_close_channel as expected
This commit is contained in:
parent
38396e8ed4
commit
bd45f3f1c8
1 changed files with 2 additions and 1 deletions
|
@ -650,7 +650,8 @@ class LNWorker(PrintError):
|
|||
chan.set_state('FORCE_CLOSING')
|
||||
self.save_channel(chan)
|
||||
self.on_channels_updated()
|
||||
return await self.network.broadcast_transaction(tx)
|
||||
await self.network.broadcast_transaction(tx)
|
||||
return tx.txid()
|
||||
|
||||
def _get_next_peers_to_try(self) -> Sequence[LNPeerAddr]:
|
||||
now = time.time()
|
||||
|
|
Loading…
Add table
Reference in a new issue