1
0

broadcast_transaction: introduce async variant

This commit is contained in:
SomberNight
2018-09-10 18:39:10 +02:00
parent b279d351d8
commit e2338581eb
6 changed files with 12 additions and 8 deletions

View File

@@ -354,7 +354,7 @@ class ElectrumGui:
self.wallet.labels[tx.txid()] = self.str_description
self.show_message(_("Please wait..."), getchar=False)
status, msg = self.network.broadcast_transaction(tx)
status, msg = self.network.broadcast_transaction_from_non_network_thread(tx)
if status:
self.show_message(_('Payment sent.'))