Run cargo fmt --all
This commit is contained in:
parent
0128e9c0ce
commit
cf3d8b0688
@ -57,7 +57,7 @@ fn main() {
|
||||
.help("If supplied along with `index`, generates keys `i..i + n`.")
|
||||
.takes_value(true)
|
||||
.default_value("1"),
|
||||
)
|
||||
),
|
||||
)
|
||||
.get_matches();
|
||||
|
||||
@ -65,7 +65,7 @@ fn main() {
|
||||
Ok(dir) => dir,
|
||||
Err(e) => {
|
||||
crit!(log, "Failed to initialize data dir"; "error" => format!("{:?}", e));
|
||||
return
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
@ -73,7 +73,7 @@ fn main() {
|
||||
|
||||
if let Err(e) = client_config.apply_cli_args(&matches) {
|
||||
crit!(log, "Failed to apply CLI args"; "error" => format!("{:?}", e));
|
||||
return
|
||||
return;
|
||||
};
|
||||
|
||||
// Ensure the `data_dir` in the config matches that supplied to the CLI.
|
||||
|
@ -27,8 +27,7 @@ pub fn start_server<T: BeaconChainTypes + Clone + 'static>(
|
||||
network_chan: crossbeam_channel::Sender<NetworkMessage>,
|
||||
beacon_chain: Arc<BeaconChain<T>>,
|
||||
log: &slog::Logger,
|
||||
) -> exit_future::Signal
|
||||
{
|
||||
) -> exit_future::Signal {
|
||||
let log = log.new(o!("Service"=>"RPC"));
|
||||
let env = Arc::new(Environment::new(1));
|
||||
|
||||
|
@ -38,8 +38,7 @@ impl<E: EthSpec> Case for OperationsBlockHeader<E> {
|
||||
// Processing requires the epoch cache.
|
||||
state.build_all_caches(spec).unwrap();
|
||||
|
||||
let mut result =
|
||||
process_block_header(&mut state, &self.block, spec, true).map(|_| state);
|
||||
let mut result = process_block_header(&mut state, &self.block, spec, true).map(|_| state);
|
||||
|
||||
compare_beacon_state_results_without_caches(&mut result, &mut expected)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user