[feature]: add a default value for timeout_seconds
in SendPaymentV2
routerrpc.SendPaymentRequest
#9282
Labels
enhancement
Improvements to existing features / behaviour
good first issue
Issues suitable for first time contributors to LND
payments
Related to invoices/payments
I propose that in the
SendPaymentV2
RPC call'srouterrpc.SendPaymentRequest
that we change thetimeout_seconds
to have a default value of 60 seconds. Right now, there is no default, so the RPC call results in an error if that field is not populated. Is there a technical reason thattimeout_seconds
has no default value?Also, the API docs say
timeout_seconds
isHowever, is this really an "upper limit" if a node along the route stalls for a while during the last payment attempt? Seems like it is more like the time in which the last HTCL will be initiated?
The text was updated successfully, but these errors were encountered: