This commit is contained in:
Michael Vines
2021-04-18 10:27:36 -07:00
parent 3b79b21e9d
commit a911ae00ba
39 changed files with 113 additions and 144 deletions

View File

@@ -190,7 +190,7 @@ fn process_spy_results(
}
}
if let Some(node) = pubkey {
if validators.iter().find(|x| x.id == node).is_none() {
if !validators.iter().any(|x| x.id == node) {
eprintln!("Error: Could not find node {:?}", node);
exit(1);
}