mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
fix: lint
This commit is contained in:
parent
9e07678b45
commit
f2a892c515
2 changed files with 0 additions and 3 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue