electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit bd45f3f1c8fbcb99462daf3fc56b69462d7f40f7
parent 38396e8ed4e2b9aa88581d91511c5b4f378e5c7a
Author: Janus <ysangkok@gmail.com>
Date:   Thu, 24 Jan 2019 17:57:27 +0100

lnworker: return txid from force_close_channel as expected

Diffstat:
Melectrum/lnworker.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/electrum/lnworker.py b/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()