electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 72d7d0b07ae49785591c571137f5090b38729b36
parent d51a8d0f252b3a57d0b2ab1e2149890d97322824
Author: ThomasV <thomasv@gitorious>
Date:   Sat, 14 Sep 2013 21:18:14 +0200

remove unneeded parameter

Diffstat:
Mgui/gui_classic/main_window.py | 4+---
Mgui/gui_classic/transaction_dialog.py | 2+-
2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/gui/gui_classic/main_window.py b/gui/gui_classic/main_window.py @@ -1664,10 +1664,8 @@ class ElectrumWindow(QMainWindow): @protected - def sign_raw_transaction(self, tx, input_info, dialog ="", password = ""): + def sign_raw_transaction(self, tx, input_info, password): self.wallet.signrawtransaction(tx, input_info, [], password) - - def do_process_from_text(self): text = text_dialog(self, _('Input raw transaction'), _("Transaction:"), _("Load transaction")) diff --git a/gui/gui_classic/transaction_dialog.py b/gui/gui_classic/transaction_dialog.py @@ -99,7 +99,7 @@ class TxDialog(QDialog): def sign(self): tx_dict = self.tx.as_dict() input_info = json.loads(tx_dict["input_info"]) - self.parent.sign_raw_transaction(self.tx, input_info, self) + self.parent.sign_raw_transaction(self.tx, input_info) self.update()