tRemove some unused vars. - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit a23247634c5a6ed7eddb114dcd90f8b914200a02 DIR parent e994736bf5b7c3d2afaa3faa7e614280bb3b36c1 HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Mon, 29 Jun 2015 10:44:27 +0900 Remove some unused vars. Diffstat: M gui/qt/transaction_dialog.py | 5 ----- 1 file changed, 0 insertions(+), 5 deletions(-) --- DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py t@@ -148,7 +148,6 @@ class TxDialog(QWidget): is_relevant, is_mine, v, fee = self.wallet.get_wallet_delta(self.tx) tx_hash = self.tx.hash() desc = self.desc - have_action = False time_str = None if self.tx.is_complete(): t@@ -164,13 +163,10 @@ class TxDialog(QWidget): status = _("%d confirmations")%conf self.broadcast_button.hide() else: - conf = 0 self.broadcast_button.show() # cannot broadcast when offline if self.parent.network is None: self.broadcast_button.setEnabled(False) - else: - have_action = True else: s, r = self.tx.signature_count() status = _("Unsigned") if s == 0 else _('Partially signed') + ' (%d/%d)'%(s,r) t@@ -179,7 +175,6 @@ class TxDialog(QWidget): if self.wallet.can_sign(self.tx): self.sign_button.show() - have_action = True else: self.sign_button.hide()