mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 13:24:44 +00:00
Ignore file-exists error.
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user