Skip to content

Commit

Permalink
fix: Index repeated addition
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Jul 1, 2024
1 parent 4bc6e88 commit 8dca29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/droplet-client/storage_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ var batchStorageDealInitV2 = &cli.Command{
}()

dcap := params.dcap.Int
for idx := 0; idx < len(manifests); idx++ {
for idx := 0; idx < len(manifests); {
m := manifests[idx]
paddedPieceSize := m.pieceSize.Padded()
if cctx.Bool("piece-size-padded") {
Expand Down

0 comments on commit 8dca29f

Please sign in to comment.