fix: correct hi bit description in RecoveryId documentation (#970)

This commit is contained in:
Georgine Forner
2025-05-15 09:31:20 -06:00
committed by GitHub
parent 6f17b32120
commit c1f1829e5b
+1 -1
View File
@@ -47,7 +47,7 @@ use {
/// - low bit (0/1): was the y-coordinate of the affine point resulting from
/// the fixed-base multiplication 𝑘×𝑮 odd? This part of the algorithm
/// functions similar to point decompression.
/// - hi bit (3/4): did the affine x-coordinate of 𝑘×𝑮 overflow the order of
/// - hi bit (2/3): did the affine x-coordinate of 𝑘×𝑮 overflow the order of
/// the scalar field, requiring a reduction when computing `r`?
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]
pub struct RecoveryId(pub(crate) u8);