diff --git a/Dockerfile b/Dockerfile index 95cd7b6..662a9cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/cmd/blobstream-ops/verify/cmd.go b/cmd/blobstream-ops/verify/cmd.go index d9f8045..f0ed520 100644 --- a/cmd/blobstream-ops/verify/cmd.go +++ b/cmd/blobstream-ops/verify/cmd.go @@ -46,7 +46,7 @@ func Start() *cobra.Command { command := &cobra.Command{ Use: "start ", 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 @@ -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