remove unneeded parameter
This commit is contained in:
parent
d51a8d0f25
commit
72d7d0b07a
@ -1664,10 +1664,8 @@ class ElectrumWindow(QMainWindow):
|
|||||||
|
|
||||||
|
|
||||||
@protected
|
@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)
|
self.wallet.signrawtransaction(tx, input_info, [], password)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def do_process_from_text(self):
|
def do_process_from_text(self):
|
||||||
text = text_dialog(self, _('Input raw transaction'), _("Transaction:"), _("Load transaction"))
|
text = text_dialog(self, _('Input raw transaction'), _("Transaction:"), _("Load transaction"))
|
||||||
|
|||||||
@ -99,7 +99,7 @@ class TxDialog(QDialog):
|
|||||||
def sign(self):
|
def sign(self):
|
||||||
tx_dict = self.tx.as_dict()
|
tx_dict = self.tx.as_dict()
|
||||||
input_info = json.loads(tx_dict["input_info"])
|
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()
|
self.update()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user