commit b609088115b44aa9db244f6c4c31ebb77925e994
parent 888a6d726e4599e8efb9a15fe4f76c15b3af69c1
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 6 Mar 2020 12:26:01 +0100
follow-up previous commit: broadcast_transaction does not return txid
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum/lnworker.py b/electrum/lnworker.py
@@ -1300,9 +1300,9 @@ class LNWallet(LNWorker):
# returns txid or raises
chan = self.channels[chan_id]
tx = chan.force_close_tx()
- txid = await self.network.broadcast_transaction(tx)
+ await self.network.broadcast_transaction(tx)
chan.set_state(channel_states.FORCE_CLOSING)
- return txid
+ return tx.txid()
async def try_force_closing(self, chan_id):
# fails silently but sets the state, so that we will retry later