Browse Source

lnworker: return txid from force_close_channel as expected

regtest_lnd
Janus 6 years ago
committed by SomberNight
parent
commit
03920c853d
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/lnworker.py

3
electrum/lnworker.py

@ -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…
Cancel
Save