tfix verifymessage command - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 65c15c5a03ecd9dbe706141bcfd55c4ab72182f2
DIR parent 958b794bc9e38343d9a3738f4c22afc3a3b8e917
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 4 Dec 2017 17:36:57 +0100
fix verifymessage command
Diffstat:
M lib/commands.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/lib/commands.py b/lib/commands.py
t@@ -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):