Fixes/improvements for lnurl-pay #49

Merged
raucao merged 3 commits from feature/lnurlp_improvements into master 2021-11-26 17:37:37 +00:00
Showing only changes of commit 2e31268698 - Show all commits

View File

@@ -28,7 +28,7 @@ class LnurlpayController < ApplicationController
status: "OK",
successAction: {
tag: "message",
message: "Payment received. Thanks!"
message: "Sats received. Thank you!"
},
routes: [],
pr: payment_request
@@ -44,7 +44,7 @@ class LnurlpayController < ApplicationController
end
def metadata(address)
"[[\"text/identifier\", \"#{address}\"], [\"text/plain\", \"Sats for #{address}\"]]"
"[[\"text/identifier\", \"#{address}\"], [\"text/plain\", \"Send sats, receive thanks.\"]]"
end
def validate_amount(amount)