1
0

lnworker.pay(): lightning-integration support

This commit is contained in:
Janus
2018-10-01 18:06:47 +02:00
committed by ThomasV
parent a071aafcc7
commit 646881f437
4 changed files with 7 additions and 3 deletions

View File

@@ -1683,7 +1683,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
failure_list = []
for i in range(LN_NUM_PAYMENT_ATTEMPTS):
try:
future = self.wallet.lnworker.pay(invoice, amount_sat=amount)
addr, peer, future = self.wallet.lnworker.pay(invoice, amount_sat=amount)
future.result()
break
except PaymentFailure as e: