tMerge pull request #3054 from SomberNight/py3_signmessage_cmd_str - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit fcbe00f325e4402e1028e5d55cdd0d3822798321 DIR parent a74e49ea31a6c4ff9f218e44df111e0a9d8ae8ca HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 18 Oct 2017 10:41:24 +0200 Merge pull request #3054 from SomberNight/py3_signmessage_cmd_str py3: signmessage cmd return type Diffstat: M lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/commands.py b/lib/commands.py t@@ -405,7 +405,7 @@ class Commands: """Sign a message with a key. Use quotes if your message contains whitespaces""" sig = self.wallet.sign_message(address, message, password) - return base64.b64encode(sig) + return base64.b64encode(sig).decode('ascii') @command('') def verifymessage(self, address, signature, message):