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

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