aboutsummaryrefslogtreecommitdiffstats
path: root/routes/lnurl.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/lnurl.js')
-rw-r--r--routes/lnurl.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/routes/lnurl.js b/routes/lnurl.js
index 5494a5b0..687dab6e 100644
--- a/routes/lnurl.js
+++ b/routes/lnurl.js
@@ -86,17 +86,12 @@ export default {
["text/identifier", `${username}@${host}`]
]);
- let memo = crypto
- .createHash("sha256")
- .update(Buffer.from(metadata, "utf8"))
- .digest("hex");
-
({ text: pr } = await generate({
invoice: {
amount: Math.round(amount / 1000),
type: types.lightning
},
- memo,
+ memo: metadata,
user
}));