make sure the broadcast tx thread always times out
This commit is contained in:
@@ -698,7 +698,7 @@ class ElectrumWindow(App):
|
||||
Clock.schedule_once(lambda dt: on_success(tx))
|
||||
|
||||
def _broadcast_thread(self, tx, on_complete):
|
||||
ok, txid = self.wallet.sendtx(tx)
|
||||
ok, txid = self.network.broadcast(tx)
|
||||
Clock.schedule_once(lambda dt: on_complete(ok, txid))
|
||||
|
||||
def broadcast(self, tx, pr=None):
|
||||
|
||||
Reference in New Issue
Block a user