chore: fix lint warnings across the board (#374)

This commit is contained in:
Santiago Carmuega 2024-01-04 09:47:04 -03:00 committed by GitHub
parent 50af4e0a75
commit 8c1ab39539
12 changed files with 31 additions and 31 deletions

View file

@ -1,4 +1,3 @@
use ed25519_bip32;
use pallas_crypto::key::ed25519::{PublicKey, SecretKey, SecretKeyExtended, Signature};
use thiserror::Error;
@ -40,6 +39,7 @@ pub enum PrivateKey {
}
impl PrivateKey {
#[allow(clippy::len_without_is_empty)]
pub fn len(&self) -> usize {
match self {
Self::Normal(_) => SecretKey::SIZE,