From 5aa99b0fd85d6b8520a25bb475c008a1c17d0425 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Fri, 23 Aug 2024 14:00:52 +0300 Subject: [PATCH] Update src/eip7594/eip7594.c Co-authored-by: Benedikt Wagner <113296072+b-wagn@users.noreply.github.com> --- src/eip7594/eip7594.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eip7594/eip7594.c b/src/eip7594/eip7594.c index d3d0b9a8..a16c67e6 100644 --- a/src/eip7594/eip7594.c +++ b/src/eip7594/eip7594.c @@ -699,7 +699,7 @@ static C_KZG_RET computed_weighted_sum_of_proofs( fr_t coset_factor = s->roots_of_unity[pos]; // Compute h_k^n, with h_k and n as in the spec. fr_pow(&coset_factor_pow, &coset_factor, FIELD_ELEMENTS_PER_CELL); - // Compute the scalar array for the MSM + // Scale the power of r by h_k^n blst_fr_mul(&weighted_powers_of_r[i], &r_powers[i], &coset_factor_pow); }