From c1da2fb4eb34be598d77da93fdb282cecaa1857c Mon Sep 17 00:00:00 2001 From: pqai3 <80204597+pqai3@users.noreply.github.com> Date: Mon, 1 Aug 2022 19:16:47 +0000 Subject: [PATCH] Increase maxSendable to 1000000000 mSats In my opinion maxSendable = 100000000 mSats is to low and discourage widespread use of a lightning address made in satdress. I think 1000000000 = mSats is a good upper limit as that approach the value where an onchain transaction is cheaper. --- lnurl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnurl.go b/lnurl.go index 82e4f8d..559021f 100644 --- a/lnurl.go +++ b/lnurl.go @@ -60,7 +60,7 @@ func handleLNURL(w http.ResponseWriter, r *http.Request) { } maxSendable, err := strconv.ParseInt(params.MaxSendable, 10, 64) if err != nil { - maxSendable = 100000000 + maxSendable = 1000000000 } json.NewEncoder(w).Encode(lnurl.LNURLPayResponse1{