We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb67c47 commit 843e502Copy full SHA for 843e502
lncfg/routing.go
@@ -34,6 +34,10 @@ func (r *Routing) Validate() error {
34
"number of hops expected to be included in each path")
35
}
36
37
+ if r.BlindedPaths.MaxNumPaths == 0 {
38
+ return fmt.Errorf("blinded max num paths cannot be 0")
39
+ }
40
+
41
if r.BlindedPaths.PolicyIncreaseMultiplier < 1 {
42
return fmt.Errorf("the blinded route policy increase " +
43
"multiplier must be greater than or equal to 1")
0 commit comments