Skip to content

Commit

Permalink
fix: sync light block header
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao001 committed Apr 29, 2024
1 parent 23aab72 commit 8b64f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listener/greenfield_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (l *GreenfieldListener) monitorValidatorsHelper(block *tmtypes.Block) error
return err
}

curValidators, err := l.greenfieldExecutor.QueryValidatorsAtHeight(nextHeight - 1)
curValidators, err := l.greenfieldExecutor.QueryValidatorsAtHeight(lightClientLatestHeight)
if err != nil {
return err
}
Expand Down

0 comments on commit 8b64f24

Please sign in to comment.