diff --git a/server/mock/helpers.go b/server/mock/helpers.go index 4000e18c848a..aab1be7cff29 100644 --- a/server/mock/helpers.go +++ b/server/mock/helpers.go @@ -11,9 +11,7 @@ import ( // SetupApp returns an application as well as a clean-up function // to be used to quickly setup a test case with an app func SetupApp() (abci.Application, func(), error) { - var logger tmlog.Logger - - logger = tmlog.NewTMLogger(tmlog.NewSyncWriter(os.Stdout)).With("module", "mock") + logger := tmlog.NewTMLogger(tmlog.NewSyncWriter(os.Stdout)).With("module", "mock") rootDir, err := os.MkdirTemp("", "mock-sdk") if err != nil {