Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
acha-bill committed Jul 3, 2024
1 parent 5dbf875 commit dc0340d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions pkg/storer/internal/reserve/items.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ func (c *ChunkBinItem) Marshal() ([]byte, error) {
i += 1

copy(buf[i:i+swarm.HashSize], c.StampHash)
i += swarm.HashSize
return buf, nil
}

Expand All @@ -203,8 +202,6 @@ func (c *ChunkBinItem) Unmarshal(buf []byte) error {
i += 1

c.StampHash = copyBytes(buf[i : i+swarm.HashSize])
i += swarm.HashSize

return nil
}

Expand Down
1 change: 0 additions & 1 deletion pkg/storer/migration/step_06.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ func (b *OldBatchRadiusItem) Unmarshal(buf []byte) error {
i += swarm.HashSize

b.BinID = binary.BigEndian.Uint64(buf[i : i+8])
i += 8
b.StampHash = swarm.EmptyAddress.Bytes()
return nil
}
Expand Down

0 comments on commit dc0340d

Please sign in to comment.