add datapoint for corrupt vote_account (#4424)
This commit is contained in:
@ -120,6 +120,14 @@ impl Locktower {
|
|||||||
}
|
}
|
||||||
let vote_state = VoteState::from(&account);
|
let vote_state = VoteState::from(&account);
|
||||||
if vote_state.is_none() {
|
if vote_state.is_none() {
|
||||||
|
datapoint_warn!(
|
||||||
|
"locktower_warn",
|
||||||
|
(
|
||||||
|
"warn",
|
||||||
|
format!("Unable to get vote_state from account {}", key),
|
||||||
|
String
|
||||||
|
),
|
||||||
|
);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
let mut vote_state = vote_state.unwrap();
|
let mut vote_state = vote_state.unwrap();
|
||||||
|
Reference in New Issue
Block a user