Skip to content

Commit

Permalink
Update src/eip7594/eip7594.c
Browse files Browse the repository at this point in the history
Co-authored-by: Benedikt Wagner <113296072+b-wagn@users.noreply.github.com>
  • Loading branch information
asn-d6 and b-wagn authored Aug 23, 2024
1 parent 940c0a7 commit 5aa99b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eip7594/eip7594.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 5aa99b0

Please sign in to comment.