Merge pull request #3054 from SomberNight/py3_signmessage_cmd_str

py3: signmessage cmd return type
This commit is contained in:
ThomasV 2017-10-18 10:41:24 +02:00 committed by GitHub
commit fcbe00f325
1 changed files with 1 additions and 1 deletions

View File

@ -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):