Browse Source

lnworker: return txid from force_close_channel as expected

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
Janus 6 years ago
committed by ThomasV
parent
commit
bd45f3f1c8
  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