Merge branch 'unstable' of https://github.com/sigp/lighthouse into eip4844

This commit is contained in:
realbigsean
2022-11-04 13:23:55 -04:00
26 changed files with 37 additions and 77 deletions

View File

@@ -55,7 +55,7 @@ pub enum Error {
/// Creates a file with `600 (-rw-------)` permissions and writes the specified bytes to file.
pub fn create_with_600_perms<P: AsRef<Path>>(path: P, bytes: &[u8]) -> Result<(), Error> {
let path = path.as_ref();
let mut file = File::create(&path).map_err(Error::UnableToCreateFile)?;
let mut file = File::create(path).map_err(Error::UnableToCreateFile)?;
#[cfg(unix)]
{