fix(lnd): enable MPP via max_parts=16 and time_pref in SendPaymentV2 (#3916)
Some checks failed
codeql / analyze (push) Has been cancelled

Co-authored-by: dni  <office@dnilabs.com>
This commit is contained in:
Morata 2026-06-08 09:33:48 -03:00 committed by GitHub
parent 1367480ec6
commit dfdce54e57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -192,6 +192,8 @@ class LndWallet(Wallet):
fee_limit_msat=fee_limit_msat,
timeout_seconds=30,
no_inflight_updates=True,
max_parts=16,
time_pref=0.9,
)
try:
res: Payment = await self.router_rpc.SendPaymentV2(req).read()