diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 717d56e..4ef7e16 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -170,7 +170,7 @@ jobs: key: taplo - name: Install Taplo - run: cargo install taplo-cli + run: cargo install taplo-cli --locked - name: Checkout sources uses: actions/checkout@v3 diff --git a/src/poprf.rs b/src/poprf.rs index d1931ba..b2acd18 100644 --- a/src/poprf.rs +++ b/src/poprf.rs @@ -720,7 +720,7 @@ where )?; Ok(blinds - .zip(messages.into_iter()) + .zip(messages) .map(|(blind, x)| x.0 * &CS::Group::invert_scalar(blind))) } diff --git a/src/voprf.rs b/src/voprf.rs index f37b5e1..4b37000 100644 --- a/src/voprf.rs +++ b/src/voprf.rs @@ -537,7 +537,7 @@ where )?; Ok(blinds - .zip(messages.into_iter()) + .zip(messages) .map(|(blind, x)| x.0 * &CS::Group::invert_scalar(blind))) }