From 345cf8654432faae7600c44fe24304d2aeddbf29 Mon Sep 17 00:00:00 2001 From: dni Date: Tue, 26 Jul 2022 09:52:57 +0200 Subject: [PATCH] fix another fastapi type --- lnbits/wallets/macaroon/macaroon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/wallets/macaroon/macaroon.py b/lnbits/wallets/macaroon/macaroon.py index aa00cd3e6..84c4909d1 100644 --- a/lnbits/wallets/macaroon/macaroon.py +++ b/lnbits/wallets/macaroon/macaroon.py @@ -73,7 +73,7 @@ class AESCipher(object): final_key += key return final_key[:output] - def decrypt(self, encrypted) -> str: + def decrypt(self, encrypted: str) -> str: #type: ignore """Decrypts a string using AES-256-CBC.""" passphrase = self.passphrase encrypted = base64.b64decode(encrypted)