Browse Source

fix remove_channel_backup (typo)

patch-4
ThomasV 4 years ago
parent
commit
602437bd17
  1. 2
      electrum/lnworker.py

2
electrum/lnworker.py

@ -2120,7 +2120,7 @@ class LNWallet(LNWorker):
chan = self.channel_backups[channel_id] chan = self.channel_backups[channel_id]
assert chan.can_be_deleted() assert chan.can_be_deleted()
onchain_backups = self.db.get_dict("onchain_channel_backups") onchain_backups = self.db.get_dict("onchain_channel_backups")
imported_backups = self.db.get_dict("onchain_channel_backups") imported_backups = self.db.get_dict("imported_channel_backups")
if channel_id.hex() in onchain_backups: if channel_id.hex() in onchain_backups:
onchain_backups.pop(channel_id.hex()) onchain_backups.pop(channel_id.hex())
elif channel_id.hex() in imported_backups: elif channel_id.hex() in imported_backups:

Loading…
Cancel
Save