Skip to content

Commit

Permalink
Revert "fix: sync light block header" (bnb-chain#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao001 authored May 6, 2024
1 parent ecefcd4 commit 13b8990
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(lightClientLatestHeight)
curValidators, err := l.greenfieldExecutor.QueryValidatorsAtHeight(nextHeight - 1)
if err != nil {
return err
}
Expand Down

0 comments on commit 13b8990

Please sign in to comment.