From a4ab9d788a60df167f7bc8993a676540151913e0 Mon Sep 17 00:00:00 2001 From: JoeGruff Date: Wed, 28 Jul 2021 11:27:52 +0900 Subject: [PATCH] Fix node grammar. --- client/asset/eth/node.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/asset/eth/node.go b/client/asset/eth/node.go index 4666a8a7cd..4cb8f7e23b 100644 --- a/client/asset/eth/node.go +++ b/client/asset/eth/node.go @@ -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 } @@ -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.