diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index fe55f073..c8d43415 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -94,7 +94,7 @@ jobs: strategy: matrix: rust: - - 1.67 # MSRV, `cargo msrv` + - 1.67 # MSRV - stable target: - wasm32-unknown-unknown @@ -106,7 +106,7 @@ jobs: toolchain: ${{ matrix.rust }} target: ${{ matrix.target }} override: true - - run: cargo install wasm-pack + - run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - run: wasm-pack test --node working-directory: ferveo-wasm @@ -126,7 +126,7 @@ jobs: toolchain: ${{ matrix.rust }} target: ${{ matrix.target }} override: true - - run: cargo install wasm-pack + - run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - run: wasm-pack build --target nodejs working-directory: ferveo-wasm - uses: borales/actions-yarn@v3.0.0 diff --git a/ferveo/src/pvss.rs b/ferveo/src/pvss.rs index 547bb16c..e4bf1c7c 100644 --- a/ferveo/src/pvss.rs +++ b/ferveo/src/pvss.rs @@ -477,7 +477,7 @@ pub fn aggregate_for_decryption( // We're assuming that in every PVSS instance, the shares are in the same order .fold(first_share, |acc, shares| { acc.into_iter() - .zip_eq(shares.into_iter()) + .zip_eq(shares) .map(|(a, b)| (a + b).into()) .collect() })