From f69f6a88e0467bea2801807ed7d1f9a64a82dafc Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 17 Oct 2017 20:15:33 +0200 Subject: [PATCH] py3: signmessage cmd now again returns str --- lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands.py b/lib/commands.py index 35e74309..0416a69a 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -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):