optimize finalized requests logic
@@ -1104,7 +1104,9 @@ class OrderingService:
Check if there are any requests which are not finalised, i.e for
which there are not enough PROPAGATEs
"""
- return {key for key in reqKeys if not self._requests.is_finalised(key)}
+ # TODO: fix comment, write tests
+ return {key for key in reqKeys if key not in self._requests}
+ # return {key for key in reqKeys if not self._requests.is_finalised(key)}
"""Method from legacy code"""
def _is_next_pre_prepare(self, view_no: int, pp_seq_no: int):
