From bcf14e7662fc277071d4991f0d8f2b3404185ab0 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Fri, 2 Dec 2022 12:35:24 +0200 Subject: [PATCH] compute_powers(): Be consistent about argument types --- src/c_kzg_4844.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_kzg_4844.c b/src/c_kzg_4844.c index c5cbcab..e5bfbd5 100644 --- a/src/c_kzg_4844.c +++ b/src/c_kzg_4844.c @@ -825,7 +825,7 @@ void free_trusted_setup(KZGSettings *s) { free_kzg_settings(s); } -static void compute_powers(fr_t out[], BLSFieldElement *x, uint64_t n) { +static void compute_powers(BLSFieldElement out[], BLSFieldElement *x, uint64_t n) { BLSFieldElement current_power = fr_one; for (uint64_t i = 0; i < n; i++) { out[i] = current_power;