Skip to content

Commit 605e07e

Browse files
committed
fix input range comment for secp256k1_fe_add_int
This seems to be a typo that was introduced with commit 4371f98 (PR bitcoin#1066).
1 parent debf3e5 commit 605e07e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/field.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ static void secp256k1_fe_negate(secp256k1_fe *r, const secp256k1_fe *a, int m);
223223
/** Add a small integer to a field element.
224224
*
225225
* Performs {r += a}. The magnitude of r increases by 1, and normalized is cleared.
226-
* a must be in range [0,0xFFFF].
226+
* a must be in range [0,0x7FFF].
227227
*/
228228
static void secp256k1_fe_add_int(secp256k1_fe *r, int a);
229229

0 commit comments

Comments
 (0)