hide sensitive data in STDOUT

This commit is contained in:
lucretius
2024-01-29 18:07:42 +01:00
parent d3e394bffa
commit 00a1af525f
3 changed files with 17 additions and 19 deletions

View File

@@ -256,7 +256,7 @@ pub fn attempt_recover_seed(password: Option<String>) {
};
match LightClient::attempt_recover_seed(&config, password) {
Ok(seed) => println!("Recovered seed: '{}'", seed),
Ok(_seed) => println!("Recovered seed "),
Err(e) => eprintln!("Failed to recover seed. Error: {}", e)
};
}