1
0

tx window: let prent do the broadcast

This commit is contained in:
ThomasV
2014-06-05 17:55:27 +02:00
parent 26d133c20a
commit d9db7771f9
2 changed files with 7 additions and 15 deletions

View File

@@ -843,12 +843,11 @@ class ElectrumWindow(QMainWindow):
if label:
self.wallet.set_label(tx.hash(), label)
if not self.gui_object.payment_request:
if not tx.is_complete() or self.config.get('show_before_broadcast'):
self.show_transaction(tx)
self.do_clear()
self.send_button.setDisabled(False)
return
if not tx.is_complete() or self.config.get('show_before_broadcast'):
self.show_transaction(tx)
self.do_clear()
self.send_button.setDisabled(False)
return
self.broadcast_transaction(tx)