diff --git a/gui/gui_classic/main_window.py b/gui/gui_classic/main_window.py index f6ac8648..e50f14f6 100644 --- 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 index ae182421..6f16e67c 100644 --- 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()