commit 65c15c5a03ecd9dbe706141bcfd55c4ab72182f2
parent 958b794bc9e38343d9a3738f4c22afc3a3b8e917
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 4 Dec 2017 17:36:57 +0100
fix verifymessage command
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/commands.py b/lib/commands.py
@@ -407,6 +407,7 @@ class Commands:
def verifymessage(self, address, signature, message):
"""Verify a signature."""
sig = base64.b64decode(signature)
+ message = util.to_bytes(message)
return bitcoin.verify_message(address, sig, message)
def _mktx(self, outputs, fee, change_addr, domain, nocheck, unsigned, rbf, password, locktime=None):