mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
hard code indentifier
This commit is contained in:
parent
860c0258c2
commit
35eb8cd313
1 changed files with 3 additions and 3 deletions
|
@ -49,9 +49,9 @@ class Addresses(BaseModel):
|
||||||
paid: bool
|
paid: bool
|
||||||
time: int
|
time: int
|
||||||
|
|
||||||
async def lnurlpay_metadata(self, domain) -> LnurlPayMetadata:
|
async def lnurlpay_metadata(self) -> LnurlPayMetadata:
|
||||||
text = f"Payment to {self.username}@{domain}"
|
text = f"Payment to {self.username}"
|
||||||
identifier = f"{self.username}@{domain}"
|
identifier = f"{self.username}@lnto.name"
|
||||||
metadata = [["text/plain", text], ["text/identifier", identifier]]
|
metadata = [["text/plain", text], ["text/identifier", identifier]]
|
||||||
|
|
||||||
return LnurlPayMetadata(json.dumps(metadata))
|
return LnurlPayMetadata(json.dumps(metadata))
|
||||||
|
|
Loading…
Add table
Reference in a new issue