Skip to content

Commit

Permalink
chore: celestia::store, use readclient for getshare
Browse files Browse the repository at this point in the history
  • Loading branch information
emilianobonassi committed Aug 6, 2024
1 parent 3926eb5 commit 09815c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion das/celestia/celestia.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 09815c3

Please sign in to comment.