Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardoalt committed Nov 8, 2024
1 parent e2960ed commit c07c388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k256/src/arithmetic/hash2curve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ mod tests {
1000
}
), |(b0 in ANY, b1 in ANY, b2 in ANY, b3 in ANY, b4 in ANY, b5 in ANY)| {
let mut data = GenericArray::default();
let mut data = Array::default();
data[..8].copy_from_slice(&b0.to_be_bytes());
data[8..16].copy_from_slice(&b1.to_be_bytes());
data[16..24].copy_from_slice(&b2.to_be_bytes());
Expand Down

0 comments on commit c07c388

Please sign in to comment.