From aa8d85dbbb2035b334de33e954bd3ff6baf8d7a7 Mon Sep 17 00:00:00 2001 From: Justin Traglia <95511699+jtraglia@users.noreply.github.com> Date: Tue, 9 May 2023 08:40:36 -0500 Subject: [PATCH] Fix some minor nits (#298) --- bindings/node.js/Makefile | 2 +- src/c_kzg_4844.c | 4 ++-- src/c_kzg_4844.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bindings/node.js/Makefile b/bindings/node.js/Makefile index fdf1618..17850ec 100644 --- a/bindings/node.js/Makefile +++ b/bindings/node.js/Makefile @@ -68,7 +68,7 @@ publish: build bundle # Run ref-tests in linux environment for cross-compatability check .PHONY: linux-test -linux-test: build +linux-test: bundle @# Docker cannot copy from outside this dir @cp -r ../../tests ref-tests @docker build -t "linux-test" . diff --git a/src/c_kzg_4844.c b/src/c_kzg_4844.c index b322d35..dd53d68 100644 --- a/src/c_kzg_4844.c +++ b/src/c_kzg_4844.c @@ -1890,9 +1890,9 @@ static void free_fft_settings(FFTSettings *fs) { /** * Free the memory that was previously allocated by new_kzg_settings(). * - * @remark It's a NOP if `ks` is NULL. + * @remark It's a NOP if `s` is NULL. * - * @param[in] ks The settings to be freed + * @param[in] s The settings to be freed */ static void free_kzg_settings(KZGSettings *s) { if (s == NULL) return; diff --git a/src/c_kzg_4844.h b/src/c_kzg_4844.h index d6c67c4..ec5103f 100644 --- a/src/c_kzg_4844.h +++ b/src/c_kzg_4844.h @@ -59,7 +59,7 @@ extern "C" { * should be chosen as the the next-largest power of two and polynomials * represented by their evaluations at a subset of the 2^i'th roots of unity. * While the code in this library tries to take this into account, we do not - * need the case where FIELD_ELEMENTS_PER_BLOB is not a power of 2. As this + * need the case where FIELD_ELEMENTS_PER_BLOB is not a power of 2. As this * case is neither maintained nor tested, we prefer to not support it. */ #if (FIELD_ELEMENTS_PER_BLOB & (FIELD_ELEMENTS_PER_BLOB - 1)) != 0