add comment why CLightningWallet alias should be kept (#2065)

This commit is contained in:
Pavol Rusnak 2023-11-06 10:20:26 +01:00 committed by GitHub
parent 1ab68e80b3
commit 5473d9e940
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,9 @@ from lnbits.wallets.base import Wallet
from .cliche import ClicheWallet from .cliche import ClicheWallet
from .corelightning import CoreLightningWallet 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 .corelightning import CoreLightningWallet as CLightningWallet
from .corelightningrest import CoreLightningRestWallet from .corelightningrest import CoreLightningRestWallet
from .eclair import EclairWallet from .eclair import EclairWallet