swapserver: try many times, to increase trampoline fee
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user