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
@@ -12,6 +12,7 @@ import lnbits.wallets.lnd_grpc_files.lightning_pb2_grpc as lnrpc
import lnbits.wallets.lnd_grpc_files.router_pb2 as router
import lnbits.wallets.lnd_grpc_files.router_pb2_grpc as routerrpc
from lnbits.settings import settings
from lnbits.utils.crypto import AESCipher
from .base import (
InvoiceResponse,
@@ -20,7 +21,7 @@ from .base import (
StatusResponse,
Wallet,
)
from .macaroon import AESCipher, load_macaroon
from .macaroon import load_macaroon
def b64_to_bytes(checking_id: str) -> bytes: