Skip to content

Commit

Permalink
fix: remove unnecessary errors
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil committed Oct 25, 2024
1 parent a5d4476 commit 6c8f945
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ pub const SIGNATURE_LENGTH_UNCOMPRESSED: u32 = 192;
pub enum ErrorStatus {
Blst(BLST_ERROR),
InvalidHex,
PublicKeyField,
SignatureField,
Other(String),
}

Expand All @@ -39,8 +37,6 @@ impl AsRef<str> for ErrorStatus {
match self {
ErrorStatus::Blst(err) => blst_error_to_str(*err),
ErrorStatus::InvalidHex => "INVALID_HEX",
ErrorStatus::PublicKeyField => "INVALID_PUBLIC_KEY_FIELD",
ErrorStatus::SignatureField => "INVALID_SIGNATURE_FIELD",
ErrorStatus::Other(err) => err.as_str(),
}
}
Expand Down

0 comments on commit 6c8f945

Please sign in to comment.