remove unneeded parameter
authorThomasV <thomasv@gitorious>
Sat, 14 Sep 2013 19:18:14 +0000 (21:18 +0200)
committerThomasV <thomasv@gitorious>
Sat, 14 Sep 2013 19:18:14 +0000 (21:18 +0200)
gui/gui_classic/main_window.py
gui/gui_classic/transaction_dialog.py

index f6ac864..e50f14f 100644 (file)
@@ -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"))
index ae18242..6f16e67 100644 (file)
@@ -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()