mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-04 02:04:28 +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);
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user