Skip to content

Commit

Permalink
removed expect
Browse files Browse the repository at this point in the history
  • Loading branch information
coachchucksol committed May 10, 2024
1 parent 9085815 commit 72dcbdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions keepers/validator-keeper/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ pub async fn emit_validator_history_metrics(
let vote_program_id = get_vote_program_id();
let live_validator_histories_count =
get_multiple_accounts_batched(&all_history_vote_accounts, client)
.await
.expect("Cannot fetch validator history vote accounts")
.await?
.iter()
.filter(|&account| {
account
Expand Down

0 comments on commit 72dcbdb

Please sign in to comment.