Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Jan 30, 2025
1 parent b84d22a commit 568ef3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/feeder/bastion/bastion_feeder.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (a *addHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}

if contentType != "" {
w.Header().Add("Content-Type", "text/x.tlog.size")
w.Header().Add("Content-Type", contentType)
}
w.WriteHeader(sc)
if len(body) > 0 {
Expand Down
2 changes: 1 addition & 1 deletion internal/witness/witness.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var (
// ErrOldSizeInvalid is returned by calls to Update if the provided oldSize parameter is larger than the size of the
// submitted checkpoint.
ErrOldSizeInvalid = errors.New("old size > current")
// ErrCheckpointStale is retrned by calls to Update if the oldSize parameter does not match the size of the currently
// ErrCheckpointStale is returned by calls to Update if the oldSize parameter does not match the size of the currently
// stored checkpoint for the same log.
ErrCheckpointStale = errors.New("old size != current")
// ErrInvalidProof is returned by calls to Update if the provided consistency proof is invalid.
Expand Down

0 comments on commit 568ef3c

Please sign in to comment.