From 09815c3aa12437266c320c8cbb9fdeee2aba04d7 Mon Sep 17 00:00:00 2001 From: Emiliano Bonassi Date: Wed, 7 Aug 2024 01:42:15 +0200 Subject: [PATCH] chore: celestia::store, use readclient for getshare --- das/celestia/celestia.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/das/celestia/celestia.go b/das/celestia/celestia.go index 946bb8c761..ae72a7cc57 100644 --- a/das/celestia/celestia.go +++ b/das/celestia/celestia.go @@ -319,7 +319,7 @@ func (c *CelestiaDA) Store(ctx context.Context, message []byte) ([]byte, error) startColumn := blobIndex % squareSize - firstShare, err := c.Client.Share.GetShare(ctx, header, int(startRow), int(startColumn)) + firstShare, err := c.ReadClient.Share.GetShare(ctx, header, int(startRow), int(startColumn)) if err != nil { celestiaFailureCounter.Inc(1) log.Warn("Failed to get first share for the blob", "err", err)