Skip to content

Commit

Permalink
Fix bug and update Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
autquis committed Jan 23, 2024
1 parent 6239629 commit adf245e
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 adf245e

Please sign in to comment.