Skip to content

Commit

Permalink
Match valid certificate counter message
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoura committed Mar 20, 2023
1 parent ecfe8cb commit fe69ed5
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 fe69ed5

Please sign in to comment.