mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-08 11:39:53 +00:00
swaps: perform 10 payment attempts
This commit is contained in:
parent
fa399f3471
commit
a73f24e826
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ class SwapManager(Logger):
|
||||||
# add callback to lnwatcher
|
# add callback to lnwatcher
|
||||||
self.add_lnwatcher_callback(lockup_address, onchain_amount, redeem_script, preimage, privkey, locktime)
|
self.add_lnwatcher_callback(lockup_address, onchain_amount, redeem_script, preimage, privkey, locktime)
|
||||||
# initiate payment.
|
# initiate payment.
|
||||||
success, log = await self.lnworker._pay(invoice, attempts=5)
|
success, log = await self.lnworker._pay(invoice, attempts=10)
|
||||||
return {
|
return {
|
||||||
'id':response_id,
|
'id':response_id,
|
||||||
'success':success,
|
'success':success,
|
||||||
|
|
Loading…
Add table
Reference in a new issue