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

@@ -269,7 +269,7 @@ pub(crate) fn save_metadata_to_disk<E: EthSpec>(
metadata: MetaData<E>,
log: &slog::Logger,
) {
let _ = std::fs::create_dir_all(&dir);
let _ = std::fs::create_dir_all(dir);
match File::create(dir.join(METADATA_FILENAME))
.and_then(|mut f| f.write_all(&metadata.as_ssz_bytes()))
{