diff --git a/lnbits/wallets/macaroon/macaroon.py b/lnbits/wallets/macaroon/macaroon.py index aa00cd3e..84c4909d 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)