Skip to content

Commit

Permalink
Merge pull request #18 from emilianobonassi/chore_getshare_readclient
Browse files Browse the repository at this point in the history
chore: celestia::store, use readclient for getshare
  • Loading branch information
Ferret-san authored Aug 7, 2024
2 parents 3926eb5 + 09815c3 commit d72cd21
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 d72cd21

Please sign in to comment.