fix #661
This commit is contained in:
parent
a332a2a7ee
commit
8a7a6f347b
|
@ -1261,7 +1261,7 @@ class NewWallet:
|
||||||
def send_tx(self, tx):
|
def send_tx(self, tx):
|
||||||
# asynchronous
|
# asynchronous
|
||||||
self.tx_event.clear()
|
self.tx_event.clear()
|
||||||
self.network.interface.send([('blockchain.transaction.broadcast', [str(tx)])], self.on_broadcast)
|
self.network.send([('blockchain.transaction.broadcast', [str(tx)])], self.on_broadcast)
|
||||||
return tx.hash()
|
return tx.hash()
|
||||||
|
|
||||||
def on_broadcast(self, i, r):
|
def on_broadcast(self, i, r):
|
||||||
|
|
Loading…
Reference in New Issue