Skip to content

Commit

Permalink
Merge pull request #170 from input-output-hk/match_valid_counter
Browse files Browse the repository at this point in the history
Match valid certificate counter message
  • Loading branch information
mkoura authored Mar 20, 2023
2 parents ecfe8cb + fe69ed5 commit 235356a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cardano_clusterlib/clusterlib_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ def _get_kes_period_info(kes_info: str) -> Dict[str, Any]:
messages_list.append(" ".join(message_entry))

for out_message in messages_list:
if "counter agrees with" in out_message:
if (
"counter agrees with" in out_message
or "counter ahead of the node protocol state counter by 1" in out_message
):
valid_counters = True
elif "correct KES period interval" in out_message:
valid_kes_period = True
Expand Down

0 comments on commit 235356a

Please sign in to comment.