electrum

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

commit c3fb79d412e0dc86b65f6ac8f117d28e0be08b4a
parent c5da22a9dd4459972a85d116fe281b8564c20834
Author: SomberNight <somber.night@protonmail.com>
Date:   Sat, 17 Oct 2020 03:47:29 +0200

lnworker: make sure to save new channel before we broadcast

see #6656

Diffstat:
Melectrum/lnworker.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/electrum/lnworker.py b/electrum/lnworker.py @@ -828,6 +828,7 @@ class LNWallet(LNWorker): channels_db[chan.channel_id.hex()] = chan.storage for addr in chan.get_wallet_addresses_channel_might_want_reserved(): self.wallet.set_reserved_state_of_address(addr, reserved=True) + self.save_channel(chan) self.wallet.save_backup() def mktx_for_open_channel(self, *, coins: Sequence[PartialTxInput], funding_sat: int,