From 1f6a9618402814b1c0f249b184424b2aafcd512d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Wed, 8 Mar 2023 11:00:57 +0100 Subject: [PATCH] fix cln mypy --- lnbits/wallets/__init__.py | 4 +--- lnbits/wallets/cln.py | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lnbits/wallets/__init__.py b/lnbits/wallets/__init__.py index c16fb42e3..b1b8c25c7 100644 --- a/lnbits/wallets/__init__.py +++ b/lnbits/wallets/__init__.py @@ -1,8 +1,6 @@ # flake8: noqa: F401 - - from .cliche import ClicheWallet -from .cln import CoreLightningWallet # legacy .env support +from .cln import CoreLightningWallet from .cln import CoreLightningWallet as CLightningWallet from .eclair import EclairWallet from .fake import FakeWallet diff --git a/lnbits/wallets/cln.py b/lnbits/wallets/cln.py index 79079784b..642aef508 100644 --- a/lnbits/wallets/cln.py +++ b/lnbits/wallets/cln.py @@ -1,4 +1,3 @@ -# type: ignore try: from pyln.client import LightningRpc, RpcError # type: ignore except ImportError: # pragma: nocover