1
0

lightning: connect send button

This commit is contained in:
ThomasV
2018-05-31 14:05:09 +02:00
parent 12d3877873
commit 34d5f1b2e3
4 changed files with 15 additions and 3 deletions

View File

@@ -193,7 +193,7 @@ class LNWorker(PrintError):
def pay(self, invoice):
coro = self._pay_coroutine(invoice)
return asyncio.run_coroutine_threadsafe(coro, self.network.asyncio_loop).result()
return asyncio.run_coroutine_threadsafe(coro, self.network.asyncio_loop)
# not aiosafe because we call .result() which will propagate an exception
async def _pay_coroutine(self, invoice):