Skip to content

Commit

Permalink
consensus/api/validators: Skip latest block in signed blocks info
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrus committed Dec 18, 2024
1 parent a38130e commit 69d66c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion storage/client/queries/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,9 @@ const (
SELECT height, COALESCE($1 = ANY(signer_entity_ids), FALSE)
FROM chain.blocks
ORDER BY height DESC
LIMIT 100`
LIMIT 100
-- Skip the latest block since signers are only processed in the next block.
OFFSET 1`

ValidatorsData = `
WITH
Expand Down

0 comments on commit 69d66c5

Please sign in to comment.