mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
eth/catalyst: fix goimports alignment in skip map
This commit is contained in:
parent
2e357729a3
commit
b545134da5
1 changed files with 3 additions and 3 deletions
|
|
@ -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())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue