ledger-tool: Update dated println!() calls (#29636)

Removed an "ok" print that occurs after several commands; we already
print a log statement that indicates ledger-tool is done and how long it
took. Additionally, switch a println to info to avoid polluting stdout
incase we want to print information in a more easily readable format
such as json.
This commit is contained in:
steviez 2023-01-10 20:41:47 -06:00 committed by GitHub
parent 0f16120b03
commit 3992cee195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -2765,7 +2765,7 @@ fn main() {
..ProcessOptions::default()
};
let print_accounts_stats = arg_matches.is_present("print_accounts_stats");
println!(
info!(
"genesis hash: {}",
open_genesis_config_by(&ledger_path, arg_matches).hash()
);
@ -2795,7 +2795,6 @@ fn main() {
}
exit_signal.store(true, Ordering::Relaxed);
system_monitor_service.join().unwrap();
println!("Ok");
}
("graph", Some(arg_matches)) => {
let output_file = value_t_or_exit!(arg_matches, "graph_filename", String);
@ -4235,7 +4234,6 @@ fn main() {
)
.db(),
);
println!("Ok.");
}
("compute-slot-cost", Some(arg_matches)) => {
let blockstore = open_blockstore(