From 0d70b7ce042e8acd24d7ace54bf7eb7895aa6afd Mon Sep 17 00:00:00 2001 From: Abdul Rabbani Date: Tue, 15 Mar 2022 16:18:50 -0400 Subject: [PATCH] Fix Linter --- cmd/geth/config.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/cmd/geth/config.go b/cmd/geth/config.go index 59f41fd37..05d0dd19f 100644 --- a/cmd/geth/config.go +++ b/cmd/geth/config.go @@ -273,20 +273,6 @@ func makeFullNode(ctx *cli.Context) (*node.Node, ethapi.Backend) { return stack, backend } -func makeLightNode(ctx *cli.Context, stack *node.Node, cfg gethConfig) (*node.Node, ethapi.Backend) { - backend := utils.RegisterLesEthService(stack, &cfg.Eth) - - // Configure GraphQL if requested - if ctx.GlobalIsSet(utils.GraphQLEnabledFlag.Name) { - utils.RegisterGraphQLService(stack, backend.ApiBackend, cfg.Node) - } - // Add the Ethereum Stats daemon if requested. - if cfg.Ethstats.URL != "" { - utils.RegisterEthStatsService(stack, backend.ApiBackend, cfg.Ethstats.URL) - } - return stack, backend.ApiBackend -} - // dumpConfig is the dumpconfig command. func dumpConfig(ctx *cli.Context) error { _, cfg := makeConfigNode(ctx)