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