Skip to content

Commit

Permalink
fix input range comment for secp256k1_fe_add_int
Browse files Browse the repository at this point in the history
This seems to be a typo that was introduced with commit
4371f98 (PR bitcoin#1066).
  • Loading branch information
theStack committed Jun 1, 2023
1 parent debf3e5 commit 605e07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/field.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ static void secp256k1_fe_negate(secp256k1_fe *r, const secp256k1_fe *a, int m);
/** Add a small integer to a field element.
*
* Performs {r += a}. The magnitude of r increases by 1, and normalized is cleared.
* a must be in range [0,0xFFFF].
* a must be in range [0,0x7FFF].
*/
static void secp256k1_fe_add_int(secp256k1_fe *r, int a);

Expand Down

0 comments on commit 605e07e

Please sign in to comment.