1
0

Automate backups:

- backup wallet file on each channel creation
 - on android, a backup password is entered in settings
 - on desktop, the backup path is in settings
This commit is contained in:
ThomasV
2020-02-13 13:43:10 +01:00
parent cee8607218
commit 2dad87cbb4
7 changed files with 64 additions and 25 deletions

View File

@@ -842,6 +842,7 @@ class LNWallet(LNWorker):
with self.lock:
self.channels[chan.channel_id] = chan
self.lnwatcher.add_channel(chan.funding_outpoint.to_str(), chan.get_funding_address())
self.wallet.save_backup()
@log_exceptions
async def add_peer(self, connect_str: str) -> Peer: