mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
submarine swaps: fee_invoice is now a hold invoice
This commit is contained in:
parent
abad2b6069
commit
a033cfeee8
1 changed files with 1 additions and 3 deletions
|
@ -348,9 +348,7 @@ class SwapManager(Logger):
|
|||
self.add_lnwatcher_callback(swap)
|
||||
# initiate payment.
|
||||
if fee_invoice:
|
||||
success, log = await self.lnworker._pay(fee_invoice, attempts=10)
|
||||
if not success:
|
||||
return False
|
||||
asyncio.ensure_future(self.lnworker._pay(fee_invoice, attempts=10))
|
||||
# initiate payment.
|
||||
success, log = await self.lnworker._pay(invoice, attempts=10)
|
||||
return success
|
||||
|
|
Loading…
Add table
Reference in a new issue