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

@@ -204,7 +204,7 @@ fn get_cluster_info(
fn main() -> Result<(), Box<dyn error::Error>> {
solana_logger::setup_with_default("solana=info");
solana_metrics::set_panic_hook("watchtower");
solana_metrics::set_panic_hook("watchtower", /*version:*/ None);
let config = get_config();