diff --git a/ecdsa/src/dev.rs b/ecdsa/src/dev.rs index 9f5ac8af..948c5ea4 100644 --- a/ecdsa/src/dev.rs +++ b/ecdsa/src/dev.rs @@ -169,7 +169,7 @@ macro_rules! new_wycheproof_test { let iter = core::iter::repeat(0) .take(point_len - data.len()) .chain(data.iter().cloned()); - elliptic_curve::FieldBytes::::from_exact_iter(iter).unwrap() + elliptic_curve::FieldBytes::::from_iter(iter) } }