routerrpc: make use of fee limit obvious in SendPaymentV2

This commit is contained in:
Oliver Gugger committed 2024-01-29 13:45:14 +02:00
1 parent 59feec44ca
commit eb08a6f004
3 files changed
+13 -4

No files matched your search

+4 -1
View File
@@ -30,7 +30,10 @@ service Router {
/*
SendPaymentV2 attempts to route a payment described by the passed
PaymentRequest to the final destination. The call returns a stream of
payment updates.
payment updates. When using this RPC, make sure to set a fee limit, as the
default routing fee limit is 0 sats. Without a non-zero fee limit only
routes without fees will be attempted which often fails with
FAILURE_REASON_NO_ROUTE.
*/
rpc SendPaymentV2 (SendPaymentRequest) returns (stream lnrpc.Payment);