mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 07:13:08 +00:00
fix
This commit is contained in:
parent
097059e026
commit
e8805a126a
@ -44,8 +44,7 @@ impl Secp256K1Base {
|
||||
fn from_biguint(val: BigUint) -> Self {
|
||||
Self(
|
||||
val.to_u64_digits()
|
||||
.iter()
|
||||
.cloned()
|
||||
.into_iter()
|
||||
.pad_using(4, |_| 0)
|
||||
.collect::<Vec<_>>()[..4]
|
||||
.try_into()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user