From 82887e4ca7fc381456dfa1ab7d6ed7283a8f6944 Mon Sep 17 00:00:00 2001 From: pk910 Date: Mon, 23 Sep 2024 19:17:34 +0200 Subject: [PATCH] make linter happy --- spec/electra/beaconblockbody_json.go | 2 ++ spec/electra/executionrequests_json.go | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/electra/beaconblockbody_json.go b/spec/electra/beaconblockbody_json.go index 874859e8..3ee74d89 100644 --- a/spec/electra/beaconblockbody_json.go +++ b/spec/electra/beaconblockbody_json.go @@ -69,6 +69,8 @@ func (b *BeaconBlockBody) MarshalJSON() ([]byte, error) { } // UnmarshalJSON implements json.Unmarshaler. +// +//nolint:gocyclo func (b *BeaconBlockBody) UnmarshalJSON(input []byte) error { raw, err := codecs.RawJSON(&beaconBlockBodyJSON{}, input) if err != nil { diff --git a/spec/electra/executionrequests_json.go b/spec/electra/executionrequests_json.go index 8325841e..5fa7aa0a 100644 --- a/spec/electra/executionrequests_json.go +++ b/spec/electra/executionrequests_json.go @@ -38,8 +38,6 @@ func (e *ExecutionRequests) MarshalJSON() ([]byte, error) { } // UnmarshalJSON implements json.Unmarshaler. -// -//nolint:gocyclo func (e *ExecutionRequests) UnmarshalJSON(input []byte) error { raw, err := codecs.RawJSON(&executionRequestsJSON{}, input) if err != nil {