fix: check checkpoint block root exists (#185)
* fix: check checkpoint block root is some * remove print * check block root earlier
This commit is contained in:
parent
6b662f903b
commit
7b7dc708f8
|
@ -157,6 +157,7 @@ impl CheckpointFallback {
|
||||||
Ok(s) => Some(s.clone()),
|
Ok(s) => Some(s.clone()),
|
||||||
_ => None,
|
_ => None,
|
||||||
})
|
})
|
||||||
|
.filter(|s| s.block_root.is_some())
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
// Get the max epoch
|
// Get the max epoch
|
||||||
|
|
Loading…
Reference in New Issue