Browse Source

fix: mktx syntax

283
thomasv 12 years ago
parent
commit
cd9f2f02d2
  1. 2
      lib/gui.py
  2. 2
      lib/gui_android.py
  3. 2
      lib/gui_lite.py
  4. 2
      lib/gui_qt.py
  5. 2
      lib/gui_text.py

2
lib/gui.py

@ -838,7 +838,7 @@ class ElectrumWindow:
password = None
try:
tx = self.wallet.mktx( [(to_address, amount)], label, password, fee )
tx = self.wallet.mktx( [(to_address, amount)], password, fee )
except BaseException, e:
self.show_message(str(e))
return

2
lib/gui_android.py

@ -451,7 +451,7 @@ def pay_to(recipient, amount, fee, label):
droid.dialogShow()
try:
tx = wallet.mktx( [(recipient, amount)], label, password, fee)
tx = wallet.mktx( [(recipient, amount)], password, fee)
except BaseException, e:
modal_dialog('error', e.message)
droid.dialogDismiss()

2
lib/gui_lite.py

@ -851,7 +851,7 @@ class MiniActuator:
fee = bitcoin(1) / 1000
try:
tx = self.wallet.mktx([(dest_address, amount)], "", password, fee)
tx = self.wallet.mktx([(dest_address, amount)], password, fee)
except BaseException as error:
QMessageBox.warning(parent_window, _('Error'), str(error), _('OK'))
return False

2
lib/gui_qt.py

@ -909,7 +909,7 @@ class ElectrumWindow(QMainWindow):
password = None
try:
tx = self.wallet.mktx( [(to_address, amount)], label, password, fee)
tx = self.wallet.mktx( [(to_address, amount)], password, fee)
except BaseException, e:
self.show_message(str(e))
return

2
lib/gui_text.py

@ -260,7 +260,7 @@ class ElectrumGui:
password = None
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:
self.show_message(str(e))
return

Loading…
Cancel
Save