diff --git a/crates/core/component/stake/src/uptime.rs b/crates/core/component/stake/src/uptime.rs index c52eaeadba..7795333139 100644 --- a/crates/core/component/stake/src/uptime.rs +++ b/crates/core/component/stake/src/uptime.rs @@ -79,7 +79,7 @@ impl Uptime { } /// Enumerates the missed blocks over the window in terms of absolute block height. - pub fn missed_blocks(&self) -> impl Iterator + '_ { + pub fn missed_blocks(&self) -> impl Iterator + DoubleEndedIterator + '_ { // The height of the next block to be recorded (not yet recorded): let current_height = self.as_of_block_height; // The length of the window of blocks being recorded: