diff --git a/validator/src/state/state_pruning_manager.rs b/validator/src/state/state_pruning_manager.rs index 161deea97f..7ddb767516 100644 --- a/validator/src/state/state_pruning_manager.rs +++ b/validator/src/state/state_pruning_manager.rs @@ -49,7 +49,7 @@ impl Ord for PruneCandidate { impl PartialOrd for PruneCandidate { fn partial_cmp(&self, other: &PruneCandidate) -> Option { - Some(Ordering::reverse(self.0.cmp(&other.0))) + Some(self.cmp(other)) } }