Set correct min/max amounts for lnurlp

fixes #47
This commit is contained in:
Basti 2021-11-25 19:14:17 -06:00
parent dbe65b4b5a
commit f3b22c02ef
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

View File

@ -6,8 +6,8 @@ class LnurlpayController < ApplicationController
status: "OK",
callback: "https://accounts.kosmos.org/lnurlpay/#{@user.address}/invoice",
tag: "payRequest",
maxSendable: 1000000,
minSendable: 1000,
maxSendable: 1000000 * 1000, # msat
minSendable: 1000 * 1000, # msat
metadata: metadata(@user.address),
commentAllowed: 0
}