refactor: extract AESCipher to crypto.py (#2202)

This commit is contained in:
Vlad Stan
2024-01-15 11:51:15 +02:00
committed by GitHub
parent bd143f5c14
commit 031ce14857
6 changed files with 82 additions and 78 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ from loguru import logger
from lnbits.nodes.lndrest import LndRestNode
from lnbits.settings import settings
from lnbits.utils.crypto import AESCipher
from .base import (
InvoiceResponse,
@@ -17,7 +18,7 @@ from .base import (
StatusResponse,
Wallet,
)
from .macaroon import AESCipher, load_macaroon
from .macaroon import load_macaroon
class LndRestWallet(Wallet):