fixup! Debug tests

This commit is contained in:
Emilia Hane
2023-01-22 10:43:05 +01:00
parent 16cb9cfca2
commit 8365d76277
2 changed files with 5 additions and 2 deletions

View File

@@ -394,6 +394,8 @@ mod tests {
use tokio::sync::mpsc;
use types::{Hash256, MinimalEthSpec as E};
const SLOT_DURATION_MILLIS: u64 = 400;
#[derive(Debug)]
struct FakeStorage {
known_blocks: RwLock<HashSet<Hash256>>,
@@ -617,7 +619,7 @@ mod tests {
.unwrap()
.as_secs(),
),
Duration::from_millis(400),
Duration::from_millis(SLOT_DURATION_MILLIS),
))
.build()
.expect("should build"),