lnurlp: accept comments, USD prices, min/max ranges.

This commit is contained in:
fiatjaf
2020-10-22 15:58:15 -03:00
parent 2552fd8fc9
commit 2863653261
10 changed files with 495 additions and 322 deletions
+4 -1
View File
@@ -12,12 +12,15 @@ class PayLink(NamedTuple):
id: int
wallet: str
description: str
amount: int
min: int
served_meta: int
served_pr: int
webhook_url: str
success_text: str
success_url: str
currency: str
comment_chars: int
max: int
@classmethod
def from_row(cls, row: Row) -> "PayLink":