mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-22 14:34:25 +02:00
try check
This commit is contained in:
parent
343b1e7981
commit
660592eae8
@ -43,8 +43,9 @@ def generate():
|
||||
def test(words):
|
||||
|
||||
mnemo = Mnemonic("english")
|
||||
seed = mnemo.to_seed(words, passphrase="")
|
||||
dump(seed)
|
||||
iscorrect = mnemo.check(words)
|
||||
dump(iscorrect)
|
||||
print(iscorrect)
|
||||
|
||||
def main():
|
||||
if sys.argv[1] == "generate":
|
||||
|
Loading…
x
Reference in New Issue
Block a user