From 500dbe54fbfdac81c14ab059cd96fc7bba53401c Mon Sep 17 00:00:00 2001 From: Mac L Date: Wed, 24 Jul 2024 19:58:09 +1000 Subject: [PATCH] Remove unused error variant --- validator_client/src/beacon_node_fallback.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/validator_client/src/beacon_node_fallback.rs b/validator_client/src/beacon_node_fallback.rs index c02264a6cb..76f16ce392 100644 --- a/validator_client/src/beacon_node_fallback.rs +++ b/validator_client/src/beacon_node_fallback.rs @@ -94,8 +94,6 @@ pub fn start_fallback_updater_service( #[derive(Debug)] pub enum Error { - /// The node was unavailable and we didn't attempt to contact it. - Unavailable(CandidateError), /// We attempted to contact the node but it failed. RequestFailed(T), } @@ -104,7 +102,6 @@ impl Error { pub fn request_failure(&self) -> Option<&T> { match self { Error::RequestFailed(e) => Some(e), - _ => None, } } }