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.
This commit is contained in:
pqai3 2022-08-01 19:16:47 +00:00 committed by fiatjaf
parent ec11f649f9
commit c1da2fb4eb

View File

@ -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{