Skip to content

Commit

Permalink
fix: sorry
Browse files Browse the repository at this point in the history
  • Loading branch information
nugaon committed Dec 18, 2023
1 parent fbb53e1 commit 590e96a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/file/pipeline/hashtrie/hashtrie.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (h *hashTrieWriter) Sum() ([]byte, error) {
if err != nil {
return nil, err
}
err = h.replicaPutter.Put(h.ctx, swarm.NewChunk(swarm.NewAddress(rootHash), rootData))
err = h.replicaPutter.Put(h.ctx, swarm.NewChunk(swarm.NewAddress(rootHash[:swarm.HashSize]), rootData))
if err != nil {
return nil, fmt.Errorf("hashtrie: cannot put dispersed replica %s", err.Error())
}
Expand Down

0 comments on commit 590e96a

Please sign in to comment.