mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-01-11 10:44:23 +00:00
compute_powers(): Be consistent about argument types
This commit is contained in:
parent
80fe1cb3e0
commit
bcf14e7662
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user