Browse Source

py3: signmessage cmd now again returns str

seed_v14
SomberNight 7 years ago
parent
commit
f69f6a88e0
  1. 2
      lib/commands.py

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

Loading…
Cancel
Save