forked from LBRYCommunity/lbry-sdk
Seed version
This commit is contained in:
parent
5b28e77ab5
commit
1a5654d50b
1 changed files with 1 additions and 1 deletions
|
@ -161,5 +161,5 @@ class Mnemonic:
|
|||
|
||||
def is_new_seed(seed, prefix):
|
||||
seed = normalize_text(seed)
|
||||
seed_hash = hexlify(hmac_sha512(b"seed version", seed.encode('utf8')))
|
||||
seed_hash = hexlify(hmac_sha512(b"Seed version", seed.encode('utf8')))
|
||||
return seed_hash.startswith(prefix)
|
||||
|
|
Loading…
Reference in a new issue