You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mithril-aggregator/src/runtime/runner.rs
+16-8Lines changed: 16 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -188,12 +188,10 @@ impl AggregatorRunnerTrait for AggregatorRunner {
188
188
.await
189
189
.with_context(|| format!("AggregatorRunner can not get current open message for signed entity type: '{}'",&signed_entity_type))?
190
190
{
191
-
if !open_message.is_certified{
191
+
if !open_message.is_certified&& !open_message.is_expired{
192
192
returnOk(Some(open_message));
193
193
}
194
-
if open_message.is_certified || open_message.is_expired{
195
-
continue;
196
-
}
194
+
continue;
197
195
}
198
196
let protocol_message = self.compute_protocol_message(&signed_entity_type).await.with_context(|| format!("AggregatorRunner can not compute protocol message for signed_entity_type: '{signed_entity_type}'"))?;
199
197
let open_message_new = self.create_open_message(&signed_entity_type,&protocol_message)
0 commit comments