From 31396fc07c421f55741436f99ce00148bc4269c4 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Wed, 3 Jun 2026 08:07:41 -0600 Subject: [PATCH] elliptic-curve: fix missing `le_repr` conversion This was missed from #2431 --- elliptic-curve/src/arithmetic/wnaf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elliptic-curve/src/arithmetic/wnaf.rs b/elliptic-curve/src/arithmetic/wnaf.rs index 2ad5c8ae6..cc75ced90 100644 --- a/elliptic-curve/src/arithmetic/wnaf.rs +++ b/elliptic-curve/src/arithmetic/wnaf.rs @@ -446,7 +446,7 @@ impl WnafScalar { let mut wnaf = vec![]; // Compute the w-NAF form of the scalar. - wnaf_form(&mut wnaf, scalar.to_repr(), WINDOW_SIZE); + wnaf_form(&mut wnaf, le_repr(scalar), WINDOW_SIZE); WnafScalar { wnaf,