mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
formatting fix. error->eror
This commit is contained in:
parent
dfea5f3160
commit
3419543ce0
3 changed files with 4 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue