Skip to content

Commit

Permalink
Address Mac's Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ethDreamer committed Mar 25, 2024
1 parent 4f9210e commit f85eeda
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions beacon_node/beacon_chain/src/graffiti_calculator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,16 @@ pub fn start_engine_version_cache_refresh_service<T: BeaconChainTypes>(
);
return;
};
if matches!(
chain.graffiti_calculator.beacon_graffiti,
GraffitiOrigin::UserSpecified(_)
) {
debug!(
chain.log,
"Graffiti is user-specified, not starting engine version cache refresh service"
);
return;
}

let execution_layer = el_ref.clone();
let log = chain.log.clone();
Expand Down

0 comments on commit f85eeda

Please sign in to comment.