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
+1 -3
View File
@@ -20,9 +20,7 @@ from lnbits.helpers import (
is_valid_username,
)
from lnbits.settings import AuthMethods, settings
# todo: move this class to a `crypto.py` file
from lnbits.wallets.macaroon.macaroon import AESCipher
from lnbits.utils.crypto import AESCipher
from ..crud import (
create_account,