electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 7bdaf01656271bc54c07dedb767fee7f564bb628
parent c46f219d252cf13810922c44305026f279480abb
Author: ThomasV <thomasv@electrum.org>
Date:   Sat, 11 Nov 2017 00:33:15 +0100

fix trustedcoin plugin: google auth code

Diffstat:
Mplugins/trustedcoin/trustedcoin.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py @@ -566,8 +566,7 @@ class TrustedCoinPlugin(BasePlugin): _, _, _, _, c, k = deserialize_xprv(xprv) pk = bip32_private_key([0, 0], k, c) key = regenerate_key(pk) - compressed = is_compressed(pk) - sig = key.sign_message(message, compressed) + sig = key.sign_message(message, True) return base64.b64encode(sig).decode() signatures = [f(x) for x in [xprv1, xprv2]]