diff --git a/beacon_node/rest_api/src/beacon.rs b/beacon_node/rest_api/src/beacon.rs index 36e7f6c57..11e1446d9 100644 --- a/beacon_node/rest_api/src/beacon.rs +++ b/beacon_node/rest_api/src/beacon.rs @@ -174,10 +174,13 @@ pub fn get_state(req: Request) -> ApiResult return Err(e); } } - }, + } Err(ApiError::InvalidQueryParams(_)) => { // No parameters provided at all, use current slot. - (String::from("slot"), beacon_chain.head().beacon_state.slot.to_string()) + ( + String::from("slot"), + beacon_chain.head().beacon_state.slot.to_string(), + ) } Err(e) => { return Err(e);