1
0

limit payment attempts if client uses trampoline

revert line break

limit payment attempts if client uses trampoline
This commit is contained in:
f321x
2025-01-14 11:12:48 +01:00
parent 8f5b395ddc
commit 4c93c9a26c

View File

@@ -1497,7 +1497,7 @@ class LNWallet(LNWorker):
min_final_cltv_delta=min_final_cltv_delta,
r_tags=r_tags,
invoice_features=invoice_features,
attempts=attempts,
attempts=20 if attempts is None and self.uses_trampoline() else attempts,
full_path=full_path,
channels=channels,
budget=budget,