From 853bee1d1c0358d02ea27b09265c59ea6e81f65c Mon Sep 17 00:00:00 2001 From: Sergi Rene Date: Mon, 13 May 2024 13:03:07 +0200 Subject: [PATCH] fix celestia height not update when syncing --- da/celestia/celestia.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/da/celestia/celestia.go b/da/celestia/celestia.go index bf59bee13..9ad65d298 100644 --- a/da/celestia/celestia.go +++ b/da/celestia/celestia.go @@ -162,6 +162,10 @@ func (c *DataAvailabilityLayerClient) Start() (err error) { } return nil case <-ticker.C: + state, err := rpc.Header.SyncState(c.ctx) + if err != nil { + return err + } c.logger.Info("celestia-node still syncing", "height", state.Height, "target", state.ToHeight) } }