network: clean-up. make external API clear. rm interface_lock (mostly).
This commit is contained in:
@@ -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.'))
|
||||
|
||||
Reference in New Issue
Block a user