Skip to content

Commit 54830a5

Browse files
committed
fix: fetch root dispersed replicas on reupload
1 parent 65dacc0 commit 54830a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/steward/steward.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (s *steward) Reupload(ctx context.Context, root swarm.Address, stamper post
7979
}
8080

8181
if rLevel != redundancy.NONE {
82-
rootChunk, err := getter.Get(ctx, root)
82+
rootChunk, err := replicas.NewGetter(getter, rLevel).Get(ctx, root)
8383
if err != nil {
8484
return errors.Join(fmt.Errorf("get root chunk for dispersed replicas: %w", err), uploaderSession.Cleanup())
8585
}

0 commit comments

Comments
 (0)