formatting fix. error->eror

This commit is contained in:
Jared Wasinger 2023-11-08 16:54:09 +08:00
parent dfea5f3160
commit 3419543ce0
3 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ const (
// for backward-compatibility
LvlTrace = LevelTrace
LvlInfo = LevelInfo
LvlInfo = LevelInfo
LvlDebug = LevelDebug
)
@ -95,7 +95,7 @@ func LevelString(l slog.Level) string {
case slog.LevelWarn:
return "warn"
case slog.LevelError:
return "error"
return "eror"
case LevelCrit:
return "crit"
default:

View file

@ -35,13 +35,13 @@ import (
"time"
"github.com/ethereum/go-ethereum/internal/reexec"
"golang.org/x/exp/slog"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/node"
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/p2p/enode"
"github.com/ethereum/go-ethereum/rpc"
"github.com/gorilla/websocket"
"golang.org/x/exp/slog"
)
func init() {

View file

@ -25,7 +25,6 @@ import (
"os"
"strconv"
"golang.org/x/exp/slog"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/internal/reexec"
"github.com/ethereum/go-ethereum/log"
@ -35,6 +34,7 @@ import (
"github.com/ethereum/go-ethereum/p2p/enr"
"github.com/ethereum/go-ethereum/rpc"
"github.com/gorilla/websocket"
"golang.org/x/exp/slog"
)
// Node represents a node in a simulation network which is created by a