1
0

don't limit attempts when paying swap invoice

This commit is contained in:
f321x
2025-04-15 15:53:31 +02:00
parent a92e65c561
commit 6bdedb3ecd

View File

@@ -293,7 +293,7 @@ class SwapManager(Logger):
self.invoices_to_pay[key] = 1000000000000 # lock
try:
invoice = self.wallet.get_invoice(key)
success, log = await self.lnworker.pay_invoice(invoice, attempts=10)
success, log = await self.lnworker.pay_invoice(invoice)
except Exception as e:
self.logger.info(f'exception paying {key}, will not retry')
self.invoices_to_pay.pop(key, None)