adds validator version to set_panic_hook (#23082)

This commit is contained in:
behzad nouri
2022-02-11 18:04:10 +00:00
committed by GitHub
parent ac13d14e30
commit 78089941ff
5 changed files with 9 additions and 6 deletions

View File

@ -21,7 +21,7 @@ pub const NUM_SIGNATURES_FOR_TXS: u64 = 100_000 * 60 * 60 * 24 * 7;
fn main() {
solana_logger::setup_with_default("solana=info");
solana_metrics::set_panic_hook("bench-tps");
solana_metrics::set_panic_hook("bench-tps", /*version:*/ None);
let matches = cli::build_args(solana_version::version!()).get_matches();
let cli_config = cli::extract_args(&matches);