Skip to content

Commit

Permalink
Merge pull request #108 from alexgao001/fix-sync-light-client
Browse files Browse the repository at this point in the history
fix: sync light block header
  • Loading branch information
alexgao001 authored Apr 30, 2024
2 parents 23aab72 + 8b64f24 commit 7719ccc
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 7719ccc

Please sign in to comment.