mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-06 02:52:20 +00:00
Fix formatting with rustfmt.
This commit is contained in:
parent
0c1ceab527
commit
28a2ce2bdc
@ -174,10 +174,13 @@ pub fn get_state<T: BeaconChainTypes + 'static>(req: Request<Body>) -> ApiResult
|
|||||||
return Err(e);
|
return Err(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
Err(ApiError::InvalidQueryParams(_)) => {
|
Err(ApiError::InvalidQueryParams(_)) => {
|
||||||
// No parameters provided at all, use current slot.
|
// 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) => {
|
Err(e) => {
|
||||||
return Err(e);
|
return Err(e);
|
||||||
|
Loading…
Reference in New Issue
Block a user