From 65c15c5a03ecd9dbe706141bcfd55c4ab72182f2 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Mon, 4 Dec 2017 17:36:57 +0100 Subject: [PATCH] fix verifymessage command --- lib/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/commands.py b/lib/commands.py index 4dfac4f7b..3a2383674 100644 --- 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):