commit 7336c6193c1b8f711b0b731baa1f380dc3e2bfa6
parent 6824179eea1d5ab3ca3e0b81b669006938b44bd6
Author: Alfie "Azelphur" Day <support@azelphur.com>
Date: Tue, 18 Dec 2012 16:03:14 +0000
Fixed bug in message signing
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/gui_qt.py b/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))