aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/lnurl.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/routes/lnurl.js b/routes/lnurl.js
index daab5e0b..c092d6fe 100644
--- a/routes/lnurl.js
+++ b/routes/lnurl.js
@@ -89,9 +89,10 @@ export default {
let { username } = user;
username = username.replace(/\s/g, "").toLowerCase();
+ let memo = `Paying ${username}@${host}`;
let metadata = JSON.stringify([
- ["text/identifier", `${username}@${host}`],
- ["text/plain", `Paying ${username}@${host}`],
+ ["text/plain", memo],
+ ["text/identifier", `${username}@${host}`]
]);
if (nostr) {