routing+docs: make sure non-MPP cannot use skipTempErr

This commit is contained in:
yyforyongyu committed 2023-11-13 16:11:06 +08:00
1 parent 168cfd7cd5
commit 678f416008
3 files changed
+74 -1

No files matched your search

@@ -91,6 +91,12 @@
hash](https://github.com/lightningnetwork/lnd/pull/8106) to the
signer.SignMessage/signer.VerifyMessage RPCs.
* `sendtoroute` will return an error when it's called using the flag
`--skip_temp_err` on a payment that's not a MPP. This is needed as a temp
error is defined as a routing error found in one of a MPP's HTLC attempts.
If, however, there's only one HTLC attempt, when it's failed, this payment is
considered failed, thus there's no such thing as temp error for a non-MPP.
## lncli Updates
## Code Health