Skip to content

Commit c1f1829

Browse files
authored
fix: correct hi bit description in RecoveryId documentation (#970)
1 parent 6f17b32 commit c1f1829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ecdsa/src/recovery.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ use {
4747
/// - low bit (0/1): was the y-coordinate of the affine point resulting from
4848
/// the fixed-base multiplication 𝑘×𝑮 odd? This part of the algorithm
4949
/// functions similar to point decompression.
50-
/// - hi bit (3/4): did the affine x-coordinate of 𝑘×𝑮 overflow the order of
50+
/// - hi bit (2/3): did the affine x-coordinate of 𝑘×𝑮 overflow the order of
5151
/// the scalar field, requiring a reduction when computing `r`?
5252
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]
5353
pub struct RecoveryId(pub(crate) u8);

0 commit comments

Comments
 (0)