mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
Merge branch 'unstable' into eip4844
This commit is contained in:
@@ -57,7 +57,7 @@ use types::{
|
||||
|
||||
mod block_hash;
|
||||
mod engine_api;
|
||||
mod engines;
|
||||
pub mod engines;
|
||||
mod keccak;
|
||||
mod metrics;
|
||||
pub mod payload_cache;
|
||||
@@ -342,6 +342,7 @@ impl<T: EthSpec> ExecutionLayer<T> {
|
||||
.map_err(Error::InvalidJWTSecret)
|
||||
} else {
|
||||
// Create a new file and write a randomly generated secret to it if file does not exist
|
||||
warn!(log, "No JWT found on disk. Generating"; "path" => %secret_file.display());
|
||||
std::fs::File::options()
|
||||
.write(true)
|
||||
.create_new(true)
|
||||
|
||||
Reference in New Issue
Block a user