Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/api/bzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (s *Service) bzzUploadHandler(w http.ResponseWriter, r *http.Request) {
s.fileUploadHandler(ctx, logger, span, ow, r, putter, headers.Encrypt, tag, headers.RLevel, headers.Act, headers.HistoryAddress)
}

// fileUploadResponse is returned when an HTTP request to upload a file is successful
// bzzUploadResponse is returned when an HTTP request to upload a file is successful
type bzzUploadResponse struct {
Reference swarm.Address `json:"reference"`
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/postage/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type BatchExist interface {
Exists([]byte) (bool, error)
}

// StorageRadiusSetter is used to calculate total batch commitment of the network.
// CommitmentGetter is used to calculate total batch commitment of the network.
type CommitmentGetter interface {
Commitment() (uint64, error)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/storer/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func (m putterWithMetrics) Put(ctx context.Context, chunk swarm.Chunk) error {

var _ storage.Getter = (*getterWithMetrics)(nil)

// putterWithMetrics wraps storage.Putter and adds metrics.
// getterWithMetrics wraps storage.Getter and adds metrics.
type getterWithMetrics struct {
storage.Getter

Expand Down
Loading