Skip to content

Commit

Permalink
Make fmt happy
Browse files Browse the repository at this point in the history
  • Loading branch information
autquis committed Nov 13, 2023
1 parent 875ab60 commit 31643f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poly-commit/src/linear_codes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ where
let n_rows = commitment.metadata.n_rows;
let n_cols = commitment.metadata.n_cols;
let root = &commitment.root;

// 1. Arrange the coefficients of the polynomial into a matrix,
// and apply encoding to get `ext_mat`.
// 2. Create the Merkle tree from the hashes of each column.
Expand All @@ -338,7 +338,7 @@ where
let mat = Matrix::new_from_rows(mat);
let ext_mat = Matrix::new_from_rows(ext_mat);
let mut col_hashes: Vec<C::Leaf> = col_hashes.into_iter().map(|h| h.into()).collect(); // TODO cfg_inter

let col_tree = create_merkle_tree::<F, C>(
&mut col_hashes,
ck.leaf_hash_params(),
Expand Down

0 comments on commit 31643f3

Please sign in to comment.