Browse Source

Fixed bug in message signing

283
Alfie "Azelphur" Day 12 years ago
parent
commit
7336c6193c
  1. 4
      lib/gui_qt.py

4
lib/gui_qt.py

@ -1257,7 +1257,7 @@ class ElectrumWindow(QMainWindow):
password = None
try:
signature = self.wallet.sign_message(sign_address.text(), sign_message.toPlainText(), password)
signature = self.wallet.sign_message(sign_address.text(), str(sign_message.toPlainText()), password)
sign_signature.setText(signature)
except BaseException, e:
self.show_message(str(e))
@ -1291,7 +1291,7 @@ class ElectrumWindow(QMainWindow):
def do_verify():
try:
self.wallet.verify_message(verify_address.text(), verify_signature.text(), verify_message.toPlainText())
self.wallet.verify_message(verify_address.text(), verify_signature.text(), str(verify_message.toPlainText()))
self.show_message("Signature verified")
except BaseException, e:
self.show_message(str(e))

Loading…
Cancel
Save