fix: lint

This commit is contained in:
Anshal Shukla 2024-05-06 16:10:32 +05:30
parent 9e07678b45
commit f2a892c515
No known key found for this signature in database
GPG key ID: 84BE5474523D8CBC
2 changed files with 0 additions and 3 deletions

View file

@ -288,8 +288,6 @@ func main() {
// prepare manipulates memory cache allowance and setups metric system.
// This function should be called before launching devp2p stack.
func prepare(ctx *cli.Context) {
const light = "light"
// If we're running a known preset, log it for convenience.
switch {
case ctx.IsSet(utils.GoerliFlag.Name):

View file

@ -464,7 +464,6 @@ func (s *Server) loggingServerInterceptor(ctx context.Context, req interface{},
}
func setupLogger(logLevel int, loggingInfo LoggingConfig) {
output := io.Writer(os.Stderr)
if loggingInfo.Json {