mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
workaround #1513
This commit is contained in:
parent
41820eec29
commit
2a23aab24b
1 changed files with 2 additions and 0 deletions
|
@ -1047,6 +1047,8 @@ class Abstract_Wallet(PrintError):
|
|||
def send_tx(self, tx):
|
||||
# asynchronous
|
||||
self.tx_event.clear()
|
||||
# fixme: this does not handle the case where server does not answer
|
||||
assert self.network.interface, "Not connected."
|
||||
self.network.send([('blockchain.transaction.broadcast', [str(tx)])], self.on_broadcast)
|
||||
return tx.hash()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue