Skip to content

Commit

Permalink
Fix bug and update Cargo.toml (#132)
Browse files Browse the repository at this point in the history
Co-authored-by: Pratyush Mishra <[email protected]>
  • Loading branch information
autquis and Pratyush authored Jan 25, 2024
1 parent 6a006f9 commit 9f9324b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ ark-ec = { git = "https://github.com/arkworks-rs/algebra/" }
ark-poly = { git = "https://github.com/arkworks-rs/algebra/" }
ark-serialize = { git = "https://github.com/arkworks-rs/algebra/" }

ark-ed-on-bls12-377 = { git = "https://github.com/arkworks-rs/curves/" }
ark-ed-on-bls12-381 = { git = "https://github.com/arkworks-rs/curves/" }
ark-bls12-377 = { git = "https://github.com/arkworks-rs/curves/" }
ark-mnt4-298 = { git = "https://github.com/arkworks-rs/curves/" }
ark-mnt6-298 = { git = "https://github.com/arkworks-rs/curves/" }
ark-ed-on-bls12-377 = { git = "https://github.com/arkworks-rs/algebra/" }
ark-ed-on-bls12-381 = { git = "https://github.com/arkworks-rs/algebra/" }
ark-bls12-377 = { git = "https://github.com/arkworks-rs/algebra/" }
ark-mnt4-298 = { git = "https://github.com/arkworks-rs/algebra/" }
ark-mnt6-298 = { git = "https://github.com/arkworks-rs/algebra/" }
2 changes: 1 addition & 1 deletion src/sponge/absorb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ impl<P: FpConfig<N>, const N: usize> Absorb for Fp<P, N> {
self.serialize_compressed(dest).unwrap()
}
fn to_sponge_field_elements<F: PrimeField>(&self, dest: &mut Vec<F>) {
let _ = field_cast(&[*self], dest);
let _ = field_cast(&[*self], dest).unwrap();
}
fn batch_to_sponge_field_elements<F: PrimeField>(batch: &[Self], dest: &mut Vec<F>)
where
Expand Down

0 comments on commit 9f9324b

Please sign in to comment.