tFixed bug in message signing - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7336c6193c1b8f711b0b731baa1f380dc3e2bfa6 DIR parent 6824179eea1d5ab3ca3e0b81b669006938b44bd6 HTML Author: Alfie "Azelphur" Day <support@azelphur.com> Date: Tue, 18 Dec 2012 16:03:14 +0000 Fixed bug in message signing Diffstat: M lib/gui_qt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/gui_qt.py b/lib/gui_qt.py t@@ -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)) t@@ -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))