Browse Source
lnworker: make sure to save new channel before we broadcast
see #6656
patch-4
SomberNight
4 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
0 deletions
-
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, |
|
|
|