forked from heierbtc/satdress-mirror
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:
parent
ec11f649f9
commit
c1da2fb4eb
2
lnurl.go
2
lnurl.go
|
@ -60,7 +60,7 @@ func handleLNURL(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
maxSendable, err := strconv.ParseInt(params.MaxSendable, 10, 64)
|
maxSendable, err := strconv.ParseInt(params.MaxSendable, 10, 64)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
maxSendable = 100000000
|
maxSendable = 1000000000
|
||||||
}
|
}
|
||||||
|
|
||||||
json.NewEncoder(w).Encode(lnurl.LNURLPayResponse1{
|
json.NewEncoder(w).Encode(lnurl.LNURLPayResponse1{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user