Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
avalonche committed Jul 20, 2023
1 parent 0b35819 commit 06b088e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions services/api/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ import (
"strings"
"sync"
"time"
consensusspec "github.com/attestantio/go-eth2-client/spec"

"github.com/NYTimes/gziphandler"
builderCapella "github.com/attestantio/go-builder-client/api/capella"
"github.com/attestantio/go-builder-client/spec"
consensusapi "github.com/attestantio/go-eth2-client/api"
"github.com/attestantio/go-eth2-client/api/v1/capella"
consensusspec "github.com/attestantio/go-eth2-client/spec"
"github.com/attestantio/go-eth2-client/spec/phase0"
"github.com/buger/jsonparser"
"github.com/flashbots/go-boost-utils/bls"
Expand Down Expand Up @@ -1590,7 +1591,7 @@ func (api *RelayAPI) handleSubmitNewBlock(w http.ResponseWriter, req *http.Reque
return
}

payload := &spec.VersionedSubmitBlockRequest{
payload := &spec.VersionedSubmitBlockRequest{//nolint:exhaustivestruct
Version: consensusspec.DataVersionCapella,
}
payload.Capella = new(builderCapella.SubmitBlockRequest)
Expand Down

0 comments on commit 06b088e

Please sign in to comment.