fix transaction broadcast
This commit is contained in:
parent
3ee5561488
commit
9d6a386f97
|
@ -1,2 +1,2 @@
|
||||||
ELECTRUM_VERSION = "0.43"
|
ELECTRUM_VERSION = "0.43a"
|
||||||
SEED_VERSION = 4 # bump this everytime the seed generation is modified
|
SEED_VERSION = 4 # bump this everytime the seed generation is modified
|
||||||
|
|
|
@ -780,7 +780,7 @@ class Wallet:
|
||||||
def sendtx(self, tx):
|
def sendtx(self, tx):
|
||||||
tx_hash = Hash(tx.decode('hex') )[::-1].encode('hex')
|
tx_hash = Hash(tx.decode('hex') )[::-1].encode('hex')
|
||||||
self.tx_event.clear()
|
self.tx_event.clear()
|
||||||
self.interface.send([('transaction.broadcast', [tx])])
|
self.interface.send([('blockchain.transaction.broadcast', [tx])])
|
||||||
self.tx_event.wait()
|
self.tx_event.wait()
|
||||||
out = self.tx_result
|
out = self.tx_result
|
||||||
if out != tx_hash:
|
if out != tx_hash:
|
||||||
|
|
Loading…
Reference in New Issue