fix: mktx syntax
This commit is contained in:
@@ -838,7 +838,7 @@ class ElectrumWindow:
|
|||||||
password = None
|
password = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
tx = self.wallet.mktx( [(to_address, amount)], label, password, fee )
|
tx = self.wallet.mktx( [(to_address, amount)], password, fee )
|
||||||
except BaseException, e:
|
except BaseException, e:
|
||||||
self.show_message(str(e))
|
self.show_message(str(e))
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -451,7 +451,7 @@ def pay_to(recipient, amount, fee, label):
|
|||||||
droid.dialogShow()
|
droid.dialogShow()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
tx = wallet.mktx( [(recipient, amount)], label, password, fee)
|
tx = wallet.mktx( [(recipient, amount)], password, fee)
|
||||||
except BaseException, e:
|
except BaseException, e:
|
||||||
modal_dialog('error', e.message)
|
modal_dialog('error', e.message)
|
||||||
droid.dialogDismiss()
|
droid.dialogDismiss()
|
||||||
|
|||||||
@@ -851,7 +851,7 @@ class MiniActuator:
|
|||||||
fee = bitcoin(1) / 1000
|
fee = bitcoin(1) / 1000
|
||||||
|
|
||||||
try:
|
try:
|
||||||
tx = self.wallet.mktx([(dest_address, amount)], "", password, fee)
|
tx = self.wallet.mktx([(dest_address, amount)], password, fee)
|
||||||
except BaseException as error:
|
except BaseException as error:
|
||||||
QMessageBox.warning(parent_window, _('Error'), str(error), _('OK'))
|
QMessageBox.warning(parent_window, _('Error'), str(error), _('OK'))
|
||||||
return False
|
return False
|
||||||
|
|||||||
@@ -909,7 +909,7 @@ class ElectrumWindow(QMainWindow):
|
|||||||
password = None
|
password = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
tx = self.wallet.mktx( [(to_address, amount)], label, password, fee)
|
tx = self.wallet.mktx( [(to_address, amount)], password, fee)
|
||||||
except BaseException, e:
|
except BaseException, e:
|
||||||
self.show_message(str(e))
|
self.show_message(str(e))
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ class ElectrumGui:
|
|||||||
password = None
|
password = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
tx = self.wallet.mktx( [(self.str_recipient, amount)], self.str_description, password, fee)
|
tx = self.wallet.mktx( [(self.str_recipient, amount)], password, fee)
|
||||||
except BaseException, e:
|
except BaseException, e:
|
||||||
self.show_message(str(e))
|
self.show_message(str(e))
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user