From 9b7bda4e4e55602d6eed0e49aee0d31d7dd17a12 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Thu, 2 Mar 2023 09:27:19 +0100 Subject: [PATCH] finish services.py --- lnbits/core/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/core/services.py b/lnbits/core/services.py index 5645f0a5..4675ee24 100644 --- a/lnbits/core/services.py +++ b/lnbits/core/services.py @@ -332,7 +332,7 @@ async def perform_lnurlauth( return b - def encode_strict_der(r, s, order): + def encode_strict_der(r: int, s: int, order: int): # if s > order/2 verification will fail sometimes # so we must fix it here (see https://github.com/indutny/elliptic/blob/e71b2d9359c5fe9437fbf46f1f05096de447de57/lib/elliptic/ec/index.js#L146-L147) if s > order // 2: