Refactor get walletclass (#1776)

* move `get_wallet_class` to wallets module

* adjust imports, fix type issues

flake8
This commit is contained in:
jackstar12
2023-06-27 16:11:00 +02:00
committed by GitHub
parent 9a0878de19
commit bc55d52ea2
10 changed files with 45 additions and 29 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ from lnbits.core.crud import (
get_standalone_payment,
)
from lnbits.core.services import redeem_lnurl_withdraw
from lnbits.settings import get_wallet_class
from lnbits.wallets import get_wallet_class
from .core import db