Browse Source

swapserver: try many times, to increase trampoline fee

master
ThomasV 2 years ago
parent
commit
f85354903d
  1. 2
      electrum/submarine_swaps.py

2
electrum/submarine_swaps.py

@ -234,7 +234,7 @@ class SwapManager(Logger):
# fixme: should consider cltv of ln payment # fixme: should consider cltv of ln payment
self.logger.info(f'locktime too close {key}') self.logger.info(f'locktime too close {key}')
continue 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: if not success:
self.logger.info(f'failed to pay invoice {key}') self.logger.info(f'failed to pay invoice {key}')
continue continue

Loading…
Cancel
Save