remove unneeded parameter
This commit is contained in:
parent
d51a8d0f25
commit
72d7d0b07a
|
@ -1664,11 +1664,9 @@ 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"))
|
||||
if not text:
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue