diff --git a/cli/server/server.go b/cli/server/server.go index c5f44f1ae..9d47ab47a 100644 --- a/cli/server/server.go +++ b/cli/server/server.go @@ -636,7 +636,7 @@ func initBlockChain(cfg config.Config, log *zap.Logger) (*core.Blockchain, stora errArgs = append(errArgs, closeErr) } - return nil, nil, cli.NewExitError(fmt.Errorf(errText, errArgs), 1) + return nil, nil, cli.NewExitError(fmt.Errorf(errText, errArgs...), 1) } return chain, store, nil }