Skip to content

Commit

Permalink
remove unnecessary binding
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Dec 28, 2023
1 parent e40ff63 commit 64405d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/fri/fri.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ fn fri_commit(
channel.read_felt_vector_from_prover(unsent_commitment.last_layer_coefficients);
let coefficients = unsent_commitment.last_layer_coefficients;

let n_coefficients = pow(2, config.log_last_layer_degree_bound);
assert(n_coefficients == coefficients.len().into(), 'Invalid value');
assert(
pow(2, config.log_last_layer_degree_bound) == coefficients.len().into(), 'Invalid value'
);

FriCommitment {
config: config,
Expand Down

0 comments on commit 64405d9

Please sign in to comment.