Skip to content

Commit adf245e

Browse files
committed
Fix bug and update Cargo.toml
1 parent 6239629 commit adf245e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ ark-ec = { git = "https://github.com/arkworks-rs/algebra/" }
121121
ark-poly = { git = "https://github.com/arkworks-rs/algebra/" }
122122
ark-serialize = { git = "https://github.com/arkworks-rs/algebra/" }
123123

124-
ark-ed-on-bls12-377 = { git = "https://github.com/arkworks-rs/curves/" }
125-
ark-ed-on-bls12-381 = { git = "https://github.com/arkworks-rs/curves/" }
126-
ark-bls12-377 = { git = "https://github.com/arkworks-rs/curves/" }
127-
ark-mnt4-298 = { git = "https://github.com/arkworks-rs/curves/" }
128-
ark-mnt6-298 = { git = "https://github.com/arkworks-rs/curves/" }
124+
ark-ed-on-bls12-377 = { git = "https://github.com/arkworks-rs/algebra/" }
125+
ark-ed-on-bls12-381 = { git = "https://github.com/arkworks-rs/algebra/" }
126+
ark-bls12-377 = { git = "https://github.com/arkworks-rs/algebra/" }
127+
ark-mnt4-298 = { git = "https://github.com/arkworks-rs/algebra/" }
128+
ark-mnt6-298 = { git = "https://github.com/arkworks-rs/algebra/" }

src/sponge/absorb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl<P: FpConfig<N>, const N: usize> Absorb for Fp<P, N> {
154154
self.serialize_compressed(dest).unwrap()
155155
}
156156
fn to_sponge_field_elements<F: PrimeField>(&self, dest: &mut Vec<F>) {
157-
let _ = field_cast(&[*self], dest);
157+
let _ = field_cast(&[*self], dest).unwrap();
158158
}
159159
fn batch_to_sponge_field_elements<F: PrimeField>(batch: &[Self], dest: &mut Vec<F>)
160160
where

0 commit comments

Comments
 (0)