1
0

redo inter-thread communication using pipes

This commit is contained in:
ThomasV
2014-07-27 11:33:02 +02:00
parent bd3bfb5e53
commit 035ecbc7cd
8 changed files with 299 additions and 216 deletions

View File

@@ -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()