1
0

network: clean-up. make external API clear. rm interface_lock (mostly).

This commit is contained in:
SomberNight
2018-09-25 16:38:26 +02:00
parent 7cc628dc79
commit 952e9b87e1
14 changed files with 254 additions and 282 deletions

View File

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