From 4c93c9a26c4ecea8a3b3cc8aea5aab3031d25b34 Mon Sep 17 00:00:00 2001 From: f321x Date: Tue, 14 Jan 2025 11:12:48 +0100 Subject: [PATCH] limit payment attempts if client uses trampoline revert line break limit payment attempts if client uses trampoline --- electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index a00dc12e2..e793e239b 100644 --- a/electrum/lnworker.py +++ b/electrum/lnworker.py @@ -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,