From 112a0f969849e65c043b27964316f5147224fcaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Wed, 13 Aug 2025 08:45:36 +0200 Subject: [PATCH] fix: lnaddresses on new lnurlscan POST endpoint (#3305) --- lnbits/core/models/lnurl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/core/models/lnurl.py b/lnbits/core/models/lnurl.py index 7cfcb640..81e0d732 100644 --- a/lnbits/core/models/lnurl.py +++ b/lnbits/core/models/lnurl.py @@ -1,6 +1,6 @@ from typing import Optional -from lnurl import Lnurl, LnurlPayResponse +from lnurl import LnAddress, Lnurl, LnurlPayResponse from pydantic import BaseModel @@ -17,4 +17,4 @@ class CreateLnurlWithdraw(BaseModel): class LnurlScan(BaseModel): - lnurl: Lnurl + lnurl: Lnurl | LnAddress