redo inter-thread communication using pipes
This commit is contained in:
@@ -791,7 +791,7 @@ class Abstract_Wallet(object):
|
||||
self.network.send([('blockchain.transaction.broadcast', [str(tx)])], self.on_broadcast)
|
||||
return tx.hash()
|
||||
|
||||
def on_broadcast(self, i, r):
|
||||
def on_broadcast(self, r):
|
||||
self.tx_result = r.get('result')
|
||||
self.tx_event.set()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user