mirror of
https://github.com/lnbits/lnbits.git
synced 2026-08-13 12:42:47 +02:00
fix(lnd): enable MPP via max_parts=16 and time_pref in SendPaymentV2 (#3916)
Some checks failed
codeql / analyze (push) Has been cancelled
Some checks failed
codeql / analyze (push) Has been cancelled
Co-authored-by: dni ⚡ <office@dnilabs.com>
This commit is contained in:
parent
1367480ec6
commit
dfdce54e57
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue