mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
fix trustedcoin plugin: google auth code
This commit is contained in:
parent
c46f219d25
commit
7bdaf01656
1 changed files with 1 additions and 2 deletions
|
@ -566,8 +566,7 @@ class TrustedCoinPlugin(BasePlugin):
|
||||||
_, _, _, _, c, k = deserialize_xprv(xprv)
|
_, _, _, _, c, k = deserialize_xprv(xprv)
|
||||||
pk = bip32_private_key([0, 0], k, c)
|
pk = bip32_private_key([0, 0], k, c)
|
||||||
key = regenerate_key(pk)
|
key = regenerate_key(pk)
|
||||||
compressed = is_compressed(pk)
|
sig = key.sign_message(message, True)
|
||||||
sig = key.sign_message(message, compressed)
|
|
||||||
return base64.b64encode(sig).decode()
|
return base64.b64encode(sig).decode()
|
||||||
|
|
||||||
signatures = [f(x) for x in [xprv1, xprv2]]
|
signatures = [f(x) for x in [xprv1, xprv2]]
|
||||||
|
|
Loading…
Add table
Reference in a new issue