From f85354903d331ce128da4940cbfedfb3d91da3c5 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 10 Aug 2023 13:44:02 +0200 Subject: [PATCH] swapserver: try many times, to increase trampoline fee --- electrum/submarine_swaps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/submarine_swaps.py b/electrum/submarine_swaps.py index 4a8e60676..7d832a568 100644 --- a/electrum/submarine_swaps.py +++ b/electrum/submarine_swaps.py @@ -234,7 +234,7 @@ class SwapManager(Logger): # fixme: should consider cltv of ln payment self.logger.info(f'locktime too close {key}') continue - success, log = await self.lnworker.pay_invoice(invoice.lightning_invoice, attempts=1) + success, log = await self.lnworker.pay_invoice(invoice.lightning_invoice, attempts=10) if not success: self.logger.info(f'failed to pay invoice {key}') continue