mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
bugfix: add channel when calling send
This commit is contained in:
parent
b78fd6b3b6
commit
1f37a330b3
1 changed files with 2 additions and 2 deletions
|
@ -592,7 +592,7 @@ class Wallet:
|
||||||
# asynchronous
|
# asynchronous
|
||||||
self.tx_event.clear()
|
self.tx_event.clear()
|
||||||
tx_hash = Hash(tx.decode('hex') )[::-1].encode('hex')
|
tx_hash = Hash(tx.decode('hex') )[::-1].encode('hex')
|
||||||
self.interface.send([('blockchain.transaction.broadcast', [tx])])
|
self.interface.send([('blockchain.transaction.broadcast', [tx])], 'synchronizer')
|
||||||
return tx_hash
|
return tx_hash
|
||||||
|
|
||||||
def receive_tx(self,tx_hash):
|
def receive_tx(self,tx_hash):
|
||||||
|
@ -896,7 +896,7 @@ class WalletSynchronizer(threading.Thread):
|
||||||
if method == 'blockchain.address.subscribe':
|
if method == 'blockchain.address.subscribe':
|
||||||
addr = params[0]
|
addr = params[0]
|
||||||
if self.wallet.get_status(addr) != result:
|
if self.wallet.get_status(addr) != result:
|
||||||
self.interface.send([('blockchain.address.get_history', [addr] )])
|
self.interface.send([('blockchain.address.get_history', [addr])], 'synchronizer')
|
||||||
|
|
||||||
elif method == 'blockchain.address.get_history':
|
elif method == 'blockchain.address.get_history':
|
||||||
addr = params[0]
|
addr = params[0]
|
||||||
|
|
Loading…
Add table
Reference in a new issue