diff --git a/rpcserver.go b/rpcserver.go index d7d2e0186c..ba8b14940d 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -6168,6 +6168,7 @@ func (r *rpcServer) AddInvoice(ctx context.Context, MaxHTLCMsat: 0, }, MinNumPathHops: blindingRestrictions.NumHops, + MaxNumPaths: blindingRestrictions.MaxNumPaths, } }