Skip to content

Commit 83fa377

Browse files
authored
elliptic-curve: fix missing le_repr conversion (#2434)
This was missed from #2431
1 parent aa20d60 commit 83fa377

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • elliptic-curve/src/arithmetic

elliptic-curve/src/arithmetic/wnaf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ impl<F: PrimeField, const WINDOW_SIZE: usize> WnafScalar<F, WINDOW_SIZE> {
446446
let mut wnaf = vec![];
447447

448448
// Compute the w-NAF form of the scalar.
449-
wnaf_form(&mut wnaf, scalar.to_repr(), WINDOW_SIZE);
449+
wnaf_form(&mut wnaf, le_repr(scalar), WINDOW_SIZE);
450450

451451
WnafScalar {
452452
wnaf,

0 commit comments

Comments
 (0)