mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
@@ -687,8 +687,8 @@ impl DoppelgangerService {
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
use environment::null_logger;
|
||||
use futures::executor::block_on;
|
||||
use logging::test_logger;
|
||||
use slot_clock::TestingSlotClock;
|
||||
use std::future;
|
||||
use std::time::Duration;
|
||||
@@ -732,7 +732,7 @@ mod test {
|
||||
fn build(self) -> TestScenario {
|
||||
let mut rng = XorShiftRng::from_seed([42; 16]);
|
||||
let slot_clock = TestingSlotClock::new(Slot::new(0), GENESIS_TIME, SLOT_DURATION);
|
||||
let log = null_logger().unwrap();
|
||||
let log = test_logger();
|
||||
|
||||
TestScenario {
|
||||
validators: (0..self.validator_count)
|
||||
|
||||
Reference in New Issue
Block a user