Skip to content

Commit

Permalink
scalar: fix PrivateKey->SecretKey in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
benma committed Jul 20, 2024
1 parent ad9d9d0 commit 37d040c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::constants;

/// Positive 256-bit integer guaranteed to be less than the secp256k1 curve order.
///
/// The difference between `PrivateKey` and `Scalar` is that `Scalar` doesn't guarantee being
/// The difference between `SecretKey` and `Scalar` is that `Scalar` doesn't guarantee being
/// securely usable as a private key.
///
/// **Warning: the operations on this type are NOT constant time!**
Expand Down

0 comments on commit 37d040c

Please sign in to comment.