mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 05:48:31 +00:00
Use hashset to filter validators ids in http_api (#5468)
* Use hashset to filter validators ids in http_api * Update beacon_node/http_api/src/validators.rs
This commit is contained in:
@@ -281,7 +281,7 @@ pub struct FinalityCheckpointsData {
|
||||
pub finalized: Checkpoint,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Eq, PartialEq, Hash, Serialize, Deserialize)]
|
||||
#[serde(into = "String")]
|
||||
#[serde(try_from = "std::borrow::Cow<str>")]
|
||||
pub enum ValidatorId {
|
||||
|
||||
Reference in New Issue
Block a user