1
0

fix remove_channel_backup (typo)

This commit is contained in:
ThomasV
2021-03-29 18:18:30 +02:00
parent a509573ea0
commit 602437bd17

View File

@@ -2120,7 +2120,7 @@ class LNWallet(LNWorker):
chan = self.channel_backups[channel_id]
assert chan.can_be_deleted()
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:
onchain_backups.pop(channel_id.hex())
elif channel_id.hex() in imported_backups: