py3: signmessage cmd now again returns str

This commit is contained in:
SomberNight 2017-10-17 20:15:33 +02:00
parent 0a648e2b1c
commit f69f6a88e0

View file

@ -405,7 +405,7 @@ class Commands:
"""Sign a message with a key. Use quotes if your message contains """Sign a message with a key. Use quotes if your message contains
whitespaces""" whitespaces"""
sig = self.wallet.sign_message(address, message, password) sig = self.wallet.sign_message(address, message, password)
return base64.b64encode(sig) return base64.b64encode(sig).decode('ascii')
@command('') @command('')
def verifymessage(self, address, signature, message): def verifymessage(self, address, signature, message):