From 8b64f2423341a749c54f329a1432a49e557ab360 Mon Sep 17 00:00:00 2001 From: Alexgao001 Date: Mon, 29 Apr 2024 19:49:15 +0800 Subject: [PATCH] fix: sync light block header --- listener/greenfield_listener.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listener/greenfield_listener.go b/listener/greenfield_listener.go index c75d20b..59a270c 100644 --- a/listener/greenfield_listener.go +++ b/listener/greenfield_listener.go @@ -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 }