1
0

ui, fix payment failed

This commit is contained in:
Sander van Grieken
2022-09-27 11:43:28 +02:00
parent d50d83e186
commit dd58328534
5 changed files with 15 additions and 12 deletions

View File

@@ -464,7 +464,7 @@ class QEWallet(AuthMixin, QObject, QtEventListener):
fut = asyncio.run_coroutine_threadsafe(coro, self.wallet.network.asyncio_loop)
fut.result()
except Exception as e:
self.userNotify.emit(self.wallet, repr(e))
self.paymentFailed.emit(invoice.get_id(), repr(e))
threading.Thread(target=pay_thread).start()