Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Jun 27, 2024
1 parent 6621540 commit 65205cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# stage 1 Build blobstream-ops binary
FROM --platform=$BUILDPLATFORM docker.io/golang:1.21.6-alpine3.18 as builder
FROM --platform=$BUILDPLATFORM docker.io/golang:1.22.3-alpine3.18 as builder

ARG TARGETOS
ARG TARGETARCH
Expand Down
5 changes: 2 additions & 3 deletions cmd/blobstream-ops/verify/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func Start() *cobra.Command {
command := &cobra.Command{
Use: "start <flags>",
Short: "Starts the BlobstreamX verifier",
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
config, err := parseStartFlags(cmd)
if err != nil {
return err
Expand Down Expand Up @@ -133,9 +133,8 @@ func Start() *cobra.Command {
_, exists := dataCommitmentEvents[int(events.Event.ProofNonce.Int64())]
if exists {
continue
} else {
dataCommitmentEvents[int(events.Event.ProofNonce.Int64())] = *events.Event
}
dataCommitmentEvents[int(events.Event.ProofNonce.Int64())] = *events.Event
}
if !events.Next() {
break
Expand Down

0 comments on commit 65205cd

Please sign in to comment.