text identifier

This commit is contained in:
Tiago vasconcelos 2021-12-01 09:44:19 +00:00
parent de2ebf90c7
commit 4ee86958b8

View File

@ -51,6 +51,6 @@ class Addresses(BaseModel):
async def lnurlpay_metadata(self) -> LnurlPayMetadata:
text = f"Payment to {self.username}"
metadata = [["text/plain", text]]
metadata = [["text/identifier", text]]
return LnurlPayMetadata(json.dumps(metadata))