commit a033cfeee8319ee55f46450af4524142b3d64bac
parent abad2b606964ce6c0def62a898fc7381b6848ab1
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 18 Jun 2020 21:39:30 +0200
submarine swaps: fee_invoice is now a hold invoice
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/electrum/submarine_swaps.py b/electrum/submarine_swaps.py
@@ -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