diff --git a/models.py b/models.py index 8b92c9c..bfcad87 100644 --- a/models.py +++ b/models.py @@ -77,19 +77,6 @@ def lnurl(self, req: Request) -> Lnurl: return lnurl_encode(url) -# def lnurl_response(self, req: Request) -> LnurlWithdrawResponse: -# url = str(req.url_for("tpos.tposlnurlcharge.callback")) -# assert self.amount -# amount = int(self.amount) -# return LnurlWithdrawResponse( -# callback=ClearnetUrl(url, scheme="https"), -# k1=self.k1, -# minWithdrawable=MilliSatoshi(amount * 1000), -# maxWithdrawable=MilliSatoshi(amount * 1000), -# defaultDescription=self.title, -# ) - - class HashCheck(BaseModel): hash: bool lnurl: bool