From f21292d593be7f692129e965cd9f6d7149a2890d Mon Sep 17 00:00:00 2001 From: MPins Date: Thu, 5 Dec 2024 11:35:45 -0300 Subject: [PATCH] lnd: added MaxNumPaths on blindedPathCfg to be used on AddInvoice --- rpcserver.go | 1 + 1 file changed, 1 insertion(+) 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, } }