mirror of https://github.com/nucypher/nucypher.git
fixes missing return statement
parent
4f29da7961
commit
b6738b4ac0
|
@ -444,6 +444,7 @@ def audit(config_file, keystore_filepath, view_mnemonic):
|
|||
correct = keystore.audit(words=collect_mnemonic(emitter), password=password)
|
||||
except Keystore.InvalidMnemonic:
|
||||
emitter.message("Mnemonic is incorrect.", color="red")
|
||||
return
|
||||
emitter.message(
|
||||
f"Mnemonic is {'' if correct else 'in'}correct.",
|
||||
color="green" if correct else "red",
|
||||
|
|
Loading…
Reference in New Issue