Skip to content

Commit

Permalink
Fix node grammar.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeGruffins committed Jul 28, 2021
1 parent 682cc39 commit deebc82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/asset/eth/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (el *ethLogger) New(ctx ...interface{}) log.Logger {
// to avoid null pointer errors in case geth ever uses that function.
type dummyHandler struct{}

// Log does nothing and return nil.
// Log does nothing and returns nil.
func (dummyHandler) Log(r *log.Record) error {
return nil
}
Expand Down Expand Up @@ -119,7 +119,7 @@ func (el *ethLogger) Error(msg string, ctx ...interface{}) {

// Crit logs at critical level.
func (el *ethLogger) Crit(msg string, ctx ...interface{}) {
el.dl.Critical(formatEthLog(msg, ctx...))
el.dl.Critical(formatEthLog(msg, ctx...)...)
}

// Check that *ethLogger satisfies the log.Logger interface.
Expand Down

0 comments on commit deebc82

Please sign in to comment.