Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bip-0374/secp256k1.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ class GE:
* infinity: True
"""

# Order of the group (number of points on the curve, plus 1 for infinity)
# Order of the group (number of points on the curve, including infinity)
ORDER = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141

# Number of valid distinct x coordinates on the curve.
# Half the order, used for ECDSA low-S normalization
ORDER_HALF = ORDER // 2

def __init__(self, x=None, y=None):
Expand Down