fix transaction broadcast
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user