mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
node: don't subscribe to consensus health events for dev node (#6868)
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
@@ -541,7 +541,7 @@ where
|
||||
network.event_listener().map(Into::into),
|
||||
beacon_engine_handle.event_listener().map(Into::into),
|
||||
pipeline_events.map(Into::into),
|
||||
if config.debug.tip.is_none() {
|
||||
if config.debug.tip.is_none() && !config.dev.dev {
|
||||
Either::Left(
|
||||
ConsensusLayerHealthEvents::new(Box::new(blockchain_db.clone()))
|
||||
.map(Into::into),
|
||||
|
||||
Reference in New Issue
Block a user