Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 91bf835

Browse files
committedFeb 11, 2024
fix: DefaultCommitter interface
1 parent 68f829c commit 91bf835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/rust-wasm/src/commit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl From<SerializableFrWrapper> for FrWrapper {
4040
// and then chunk each four u64s into a FrWrapper
4141
#[wasm_bindgen]
4242
pub fn commit_scalar_values(arr: &Array) -> Result<ElementWrapper, JsValue> {
43-
let committer = DefaultCommitter(new_crs());
43+
let committer = DefaultCommitter::new(&new_crs().G);
4444

4545
let mut fr_values = [Fr::zero(); 256];
4646

0 commit comments

Comments
 (0)