diff options
| author | Adam Soltys <[email protected]> | 2022-09-02 08:54:56 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-02 08:54:56 -0700 |
| commit | ec7ec2037195cafc293652aeded42fccc151bafa (patch) | |
| tree | 45d1ce30dec28f932f1160c8051d0c73725cf5ee | |
| parent | 4ce441443b13e3cece375595f764f10e7ac0564a (diff) | |
| download | coinos-server-ec7ec2037195cafc293652aeded42fccc151bafa.tar.gz coinos-server-ec7ec2037195cafc293652aeded42fccc151bafa.zip | |
add text/identifier to lnurlp metadata
| -rw-r--r-- | routes/lnurl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/lnurl.js b/routes/lnurl.js index 3dd436eb..36daa840 100644 --- a/routes/lnurl.js +++ b/routes/lnurl.js @@ -138,7 +138,7 @@ app.get( let result = await lnurlServer.generateNewUrl("payRequest", { minSendable, maxSendable, - metadata: JSON.stringify([["text/plain", `paying ${user.username}`]]) + metadata: JSON.stringify([["text/plain", `paying ${user.username}`], ["text/identifier", `${user.username}@coinos.io`]) }); recipients[result.secret] = user; |
