docs: Fix typos

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-07-04 16:42:09 +03:00
parent 062e441d8a
commit f69fa7f370
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ oxidetalis_core = { path = "crates/oxidetalis_core" }
oxidetalis_config = { path = "crates/oxidetalis_config" }
oxidetalis_migrations = { path = "crates/oxidetalis_migrations" }
oxidetalis_entities = { path = "crates/oxidetalis_entities" }
# Shered dependencies
# Shared dependencies
base58 = "0.2.0"
serde = "1.0.203"
thiserror = "1.0.61"

View file

@ -49,7 +49,7 @@ pub enum ApiError {
/// The entered public key is already registered (400 Bad Request)
#[error("The entered public key is already registered")]
DuplicatedUser,
/// The user enterd tow different public keys
/// The user entered two different public keys
/// one in the header and other in the request body
/// (400 Bad Request)
#[error("You entered two different public keys")]

View file

@ -203,7 +203,7 @@ impl K256Secret {
/// Sign a data with the shared secret.
///
/// The signature is exiplained in the OTMP specification.
/// The signature is explained in the OTMP specification.
#[logcall]
pub fn sign(&self, data: &[u8], sign_to: &CorePublicKey) -> CoreSignature {
Self::sign_with_shared_secret(data, &self.shared_secret(sign_to))