diff --git a/electrum/commands.py b/electrum/commands.py index 0eb0c1e73..f29ffd155 100644 --- a/electrum/commands.py +++ b/electrum/commands.py @@ -1089,7 +1089,7 @@ class Commands: @command('w') async def import_channel_backup(self, encrypted, wallet: Abstract_Wallet = None): - return wallet.lnbackups.import_channel_backup(encrypted) + return wallet.lnworker.import_channel_backup(encrypted) @command('wn') async def get_channel_ctx(self, channel_point, iknowwhatimdoing=False, wallet: Abstract_Wallet = None):