diff --git a/beacon_node/beacon_chain/test_harness/src/bin.rs b/beacon_node/beacon_chain/test_harness/src/bin.rs index df9ccd2229..3afc921dec 100644 --- a/beacon_node/beacon_chain/test_harness/src/bin.rs +++ b/beacon_node/beacon_chain/test_harness/src/bin.rs @@ -17,7 +17,7 @@ use validator_harness::ValidatorHarness; fn main() { let validator_file_path = keypairs_path(); - fs::create_dir(validator_file_path.parent().unwrap()).unwrap(); + let _ = fs::create_dir(validator_file_path.parent().unwrap()); let matches = App::new("Lighthouse Test Harness Runner") .version("0.0.1") diff --git a/eth2/types/src/test_utils/testing_beacon_state_builder.rs b/eth2/types/src/test_utils/testing_beacon_state_builder.rs index 53481f0620..63d6f58778 100644 --- a/eth2/types/src/test_utils/testing_beacon_state_builder.rs +++ b/eth2/types/src/test_utils/testing_beacon_state_builder.rs @@ -25,10 +25,10 @@ pub struct TestingBeaconStateBuilder { } impl TestingBeaconStateBuilder { - /// Attempts to load validators from a file in the `CARGO_MANIFEST_DIR`. If the file is - /// unavailable, it generates the keys at runtime. + /// Attempts to load validators from a file in `$HOME/.lighthouse/keypairs.raw_keypairs`. If + /// the file is unavailable, it generates the keys at runtime. /// - /// If the `CARGO_MANIFEST_DIR` environment variable is not set, the local directory is used. + /// If the `$HOME` environment variable is not set, the local directory is used. /// /// See the `Self::from_keypairs_file` method for more info. ///