mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 20:35:13 +00:00
qt broadcast tx: don't complain about being "offline" for partial tx
This commit is contained in:
parent
cb41a0fe89
commit
2880c26d87
1 changed files with 5 additions and 4 deletions
|
@ -1561,13 +1561,14 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
|
|||
d.show()
|
||||
|
||||
def broadcast_or_show(self, tx: Transaction):
|
||||
if not tx.is_complete():
|
||||
self.show_transaction(tx)
|
||||
return
|
||||
if not self.network:
|
||||
self.show_error(_("You can't broadcast a transaction without a live network connection."))
|
||||
self.show_transaction(tx)
|
||||
elif not tx.is_complete():
|
||||
self.show_transaction(tx)
|
||||
else:
|
||||
self.broadcast_transaction(tx)
|
||||
return
|
||||
self.broadcast_transaction(tx)
|
||||
|
||||
@protected
|
||||
def sign_tx(self, tx, *, callback, external_keypairs, password):
|
||||
|
|
Loading…
Add table
Reference in a new issue