Skip to content

Commit

Permalink
Make Clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
siy committed Nov 4, 2024
1 parent 3ef483d commit b7da2ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/sign/sign_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ pub enum ReviewType {

impl SignMode {
pub fn requires_blind_signing(&self) -> bool {
match self {
matches!(
self,
SignMode::PreAuthHashEd25519
| SignMode::PreAuthRawEd25519
| SignMode::PreAuthHashSecp256k1
| SignMode::PreAuthRawSecp256k1 => true,
_ => false,
}
| SignMode::PreAuthRawEd25519
| SignMode::PreAuthHashSecp256k1
| SignMode::PreAuthRawSecp256k1
)
}
pub fn curve(&self) -> Curve {
match self {
Expand Down

0 comments on commit b7da2ec

Please sign in to comment.