diff options
| author | Adam Soltys <[email protected]> | 2022-09-02 08:54:56 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-02 08:55:07 -0700 |
| commit | 083dcbb6a9ec97dbb31047b4d6b9bdb20abcbc12 (patch) | |
| tree | 0854e4bdbc566e64b419c3e9847c34bf640024cb | |
| parent | b929c6e493f5e6a22eb8e3dec580104c02a5041d (diff) | |
| download | coinos-server-083dcbb6a9ec97dbb31047b4d6b9bdb20abcbc12.tar.gz coinos-server-083dcbb6a9ec97dbb31047b4d6b9bdb20abcbc12.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; |
