Skip to content

Commit 4b12980

Browse files
committed
fix: use extracted message
1 parent 170eaa7 commit 4b12980

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

observer/observer.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,9 +760,9 @@ async def observer_loop(config: Configuration) -> None:
760760
for round in rounds:
761761
extracted_ftso = extract_round_for_entity(
762762
round.ftso, entity, round.voting_epoch
763-
)
764-
if extracted_ftso.submit_2 is not None:
765-
votes = extracted_ftso.submit_2.parsed_payload.payload.values
763+
).submit_2.extracted
764+
if extracted_ftso is not None:
765+
votes = extracted_ftso.parsed_payload.payload.values
766766
entity_votes.append(votes)
767767
else:
768768
entity_votes.append([])
@@ -771,6 +771,7 @@ async def observer_loop(config: Configuration) -> None:
771771
medians.popleft()
772772
entity_votes.popleft()
773773
for r in rounds:
774+
LOGGER.info(f"processed round {r.voting_epoch.id}")
774775
messages.extend(validate_round(r, signing_policy, entity, config))
775776

776777
# prepare new data for FDC participation

0 commit comments

Comments
 (0)