fix
This commit is contained in:
parent
ab46f1110f
commit
432fae996a
|
@ -1190,8 +1190,8 @@ class Wallet:
|
||||||
self.network.interface.send([('blockchain.transaction.broadcast', [str(tx)])], self.on_broadcast)
|
self.network.interface.send([('blockchain.transaction.broadcast', [str(tx)])], self.on_broadcast)
|
||||||
return tx.hash()
|
return tx.hash()
|
||||||
|
|
||||||
def on_broadcast(self, i, result):
|
def on_broadcast(self, i, r):
|
||||||
self.tx_result = result
|
self.tx_result = r.get('result')
|
||||||
self.tx_event.set()
|
self.tx_event.set()
|
||||||
|
|
||||||
def receive_tx(self,tx_hash):
|
def receive_tx(self,tx_hash):
|
||||||
|
|
Loading…
Reference in New Issue