diff --git a/electrum/tests/regtest/regtest.sh b/electrum/tests/regtest/regtest.sh index 5b431f865..955fca3c4 100755 --- a/electrum/tests/regtest/regtest.sh +++ b/electrum/tests/regtest/regtest.sh @@ -150,7 +150,9 @@ if [[ $1 == "backup" ]]; then $alice daemon -d $alice load_wallet $alice import_channel_backup $backup + echo "request force close $channel1" $alice request_force_close $channel1 + echo "request force close $channel2" $alice request_force_close $channel2 wait_for_balance alice 0.998 fi diff --git a/electrum/wallet.py b/electrum/wallet.py index d12f73db9..081be26b4 100644 --- a/electrum/wallet.py +++ b/electrum/wallet.py @@ -322,7 +322,6 @@ class Abstract_Wallet(AddressSynchronizer, ABC): for chan_id, chan in self.lnworker.channels.items(): channel_backups[chan_id.hex()] = self.lnworker.create_channel_backup(chan_id) new_db.put('channels', None) - new_db.put('lightning_xprv', None) new_db.put('lightning_privkey2', None) new_path = os.path.join(backup_dir, self.basename() + '.backup')