diff --git a/Cargo.toml b/Cargo.toml index aa001515..2ef07709 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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/" } diff --git a/src/sponge/absorb.rs b/src/sponge/absorb.rs index 5a8e49df..3827d428 100644 --- a/src/sponge/absorb.rs +++ b/src/sponge/absorb.rs @@ -154,7 +154,7 @@ impl, const N: usize> Absorb for Fp { self.serialize_compressed(dest).unwrap() } fn to_sponge_field_elements(&self, dest: &mut Vec) { - let _ = field_cast(&[*self], dest); + let _ = field_cast(&[*self], dest).unwrap(); } fn batch_to_sponge_field_elements(batch: &[Self], dest: &mut Vec) where