swaps: perform 10 payment attempts

This commit is contained in:
ThomasV 2020-05-27 18:08:18 +02:00
parent fa399f3471
commit a73f24e826

View file

@ -253,7 +253,7 @@ class SwapManager(Logger):
# add callback to lnwatcher
self.add_lnwatcher_callback(lockup_address, onchain_amount, redeem_script, preimage, privkey, locktime)
# initiate payment.
success, log = await self.lnworker._pay(invoice, attempts=5)
success, log = await self.lnworker._pay(invoice, attempts=10)
return {
'id':response_id,
'success':success,