stupid
This commit is contained in:
parent
346e50cbb5
commit
205c53d8e9
|
@ -52,7 +52,6 @@ class Addresses(BaseModel):
|
||||||
async def lnurlpay_metadata(self, domain) -> LnurlPayMetadata:
|
async def lnurlpay_metadata(self, domain) -> LnurlPayMetadata:
|
||||||
text = f"Payment to {self.username}"
|
text = f"Payment to {self.username}"
|
||||||
identifier = f"{self.username}@{domain}"
|
identifier = f"{self.username}@{domain}"
|
||||||
metadata = [["text/plain", text], ["text/identifier"], identifier]
|
metadata = [["text/plain", text], ["text/identifier", identifier]]
|
||||||
print(json.dumps(metadata))
|
|
||||||
|
|
||||||
return LnurlPayMetadata(json.dumps(metadata))
|
return LnurlPayMetadata(json.dumps(metadata))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user