From 5473d9e940576ff2de1f9c322a0e191a4c137df5 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 6 Nov 2023 10:20:26 +0100 Subject: [PATCH] add comment why CLightningWallet alias should be kept (#2065) --- lnbits/wallets/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lnbits/wallets/__init__.py b/lnbits/wallets/__init__.py index 6b3759f76..08ecae473 100644 --- a/lnbits/wallets/__init__.py +++ b/lnbits/wallets/__init__.py @@ -9,6 +9,9 @@ from lnbits.wallets.base import Wallet from .cliche import ClicheWallet from .corelightning import CoreLightningWallet + +# The following import is intentional to keep backwards compatibility +# for old configs that called it CLightningWallet. Do not remove. from .corelightning import CoreLightningWallet as CLightningWallet from .corelightningrest import CoreLightningRestWallet from .eclair import EclairWallet