Disable notifier logging from dummy eth1 backend (#2680)

This commit is contained in:
Paul Hauner
2021-10-06 19:40:55 +11:00
parent 7975ceff97
commit d6fda44620
2 changed files with 10 additions and 0 deletions

View File

@@ -223,6 +223,11 @@ where
}
}
/// Returns `true` if the "dummy" backend is being used.
pub fn is_dummy_backend(&self) -> bool {
self.use_dummy_backend
}
/// Returns the `Eth1Data` that should be included in a block being produced for the given
/// `state`.
pub fn eth1_data_for_block_production(