Skip to content

Commit

Permalink
Fix lints and udeps
Browse files Browse the repository at this point in the history
  • Loading branch information
pawanjay176 committed Sep 1, 2020
1 parent 4ddbbfe commit 1022f58
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion beacon_node/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ pub fn get_data_dir(cli_args: &ArgMatches) -> PathBuf {
cli_args
.value_of("datadir")
.map(|path| PathBuf::from(path).join(DEFAULT_BEACON_NODE_DIR))
.unwrap_or(directory::get_default_base_dir())
.unwrap_or_else(directory::get_default_base_dir)
}

/// Try to parse the eth2 testnet config from the `testnet`, `testnet-dir` flags in that order.
Expand Down
1 change: 0 additions & 1 deletion consensus/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ harness = false
bls = { path = "../../crypto/bls" }
compare_fields = { path = "../../common/compare_fields" }
compare_fields_derive = { path = "../../common/compare_fields_derive" }
dirs = "2.0.2"
eth2_interop_keypairs = { path = "../../common/eth2_interop_keypairs" }
ethereum-types = "0.9.1"
eth2_hashing = "0.1.0"
Expand Down

0 comments on commit 1022f58

Please sign in to comment.