Skip to content

Commit

Permalink
Merge pull request #159 from nucypher/set-msrv-wasm-tools
Browse files Browse the repository at this point in the history
Fix CI build
  • Loading branch information
cygnusv authored Sep 4, 2023
2 parents 7002548 + a812513 commit 0a73aa3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
strategy:
matrix:
rust:
- 1.67 # MSRV, `cargo msrv`
- 1.67 # MSRV
- stable
target:
- wasm32-unknown-unknown
Expand All @@ -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

Expand All @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion ferveo/src/pvss.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ pub fn aggregate_for_decryption<E: Pairing>(
// 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()
})
Expand Down

0 comments on commit 0a73aa3

Please sign in to comment.