eth/catalyst: fix goimports alignment in skip map

This commit is contained in:
Giulio Rebuffo 2026-03-05 14:44:36 +00:00
parent 2e357729a3
commit b545134da5

View file

@ -1108,9 +1108,9 @@ func (api *ConsensusAPI) checkFork(timestamp uint64, forks ...forks.Fork) bool {
func (api *ConsensusAPI) ExchangeCapabilities([]string) []string { func (api *ConsensusAPI) ExchangeCapabilities([]string) []string {
// Methods that should not be advertised via V1 capabilities // Methods that should not be advertised via V1 capabilities
skip := map[string]bool{ skip := map[string]bool{
"ExchangeCapabilities": true, "ExchangeCapabilities": true,
"ExchangeCapabilitiesV2": true, "ExchangeCapabilitiesV2": true,
"GetClientCommunicationChannelsV1": true, "GetClientCommunicationChannelsV1": true,
} }
valueT := reflect.TypeOf(api) valueT := reflect.TypeOf(api)
caps := make([]string, 0, valueT.NumMethod()) caps := make([]string, 0, valueT.NumMethod())