Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Aug 1, 2024
1 parent d475054 commit 2c8c1f6
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c8c1f6

Please sign in to comment.