Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
style(api.rs): add trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Aug 8, 2018
1 parent a8341d8 commit 757150a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ethcore/sync/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ fn light_params(
network_id: u64,
max_peers: u32,
pruning_info: PruningInfo,
sample_store: Option<Box<SampleStore>>
sample_store: Option<Box<SampleStore>>,
) -> LightParams {
const MAX_LIGHTSERV_LOAD: f64 = 0.5;

Expand Down Expand Up @@ -304,7 +304,7 @@ impl EthSync {
params.config.network_id,
params.network_config.max_peers,
pruning_info,
sample_store
sample_store,
);

let mut light_proto = LightProtocol::new(params.provider, light_params);
Expand Down

0 comments on commit 757150a

Please sign in to comment.