Skip to content

Commit

Permalink
Merge branch 'feat/gnosis-neth' of https://github.com/gnosischain/hive
Browse files Browse the repository at this point in the history
…into feat/gnosis-neth
  • Loading branch information
stdevMac committed Jul 18, 2023
2 parents 020f4dc + 017a1e2 commit ca82552
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions simulators/eth2/common/builder/mock/mock_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -1101,9 +1101,7 @@ func (m *MockBuilder) HandleMockDisableErrorOnHeaderRequest(
func (m *MockBuilder) HandleMockEnableErrorOnHeaderRequest(
w http.ResponseWriter, req *http.Request,
) {
var (
vars = mux.Vars(req)
)
vars := mux.Vars(req)

slot, code, err := m.parseSlotEpochRequest(vars)
if err != nil {
Expand Down Expand Up @@ -1161,9 +1159,7 @@ func (m *MockBuilder) HandleMockDisableErrorOnPayloadReveal(
func (m *MockBuilder) HandleMockEnableErrorOnPayloadReveal(
w http.ResponseWriter, req *http.Request,
) {
var (
vars = mux.Vars(req)
)
vars := mux.Vars(req)

slot, code, err := m.parseSlotEpochRequest(vars)
if err != nil {
Expand Down

0 comments on commit ca82552

Please sign in to comment.