This commit is contained in:
Tiago vasconcelos 2021-12-01 11:10:19 +00:00
parent e6ec560317
commit 346e50cbb5

View File

@ -53,5 +53,6 @@ class Addresses(BaseModel):
text = f"Payment to {self.username}"
identifier = f"{self.username}@{domain}"
metadata = [["text/plain", text], ["text/identifier"], identifier]
print(json.dumps(metadata))
return LnurlPayMetadata(json.dumps(metadata))