From e546eeb9e77374a6ef3317b44c3757915b9b50d9 Mon Sep 17 00:00:00 2001 From: Vivek Arte Date: Mon, 30 Oct 2023 14:35:09 +0530 Subject: [PATCH] fixing more Clippy issues --- src/keys.rs | 3 +-- src/note/asset_base.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/keys.rs b/src/keys.rs index 0a5df6fc7..7e25e3071 100644 --- a/src/keys.rs +++ b/src/keys.rs @@ -270,7 +270,7 @@ impl IssuanceMasterKey { &self.0 } - /// Derives the Orchard issuance key for the given seed, coin type, and account. + /// Derives the Orchard-ZSA issuance key for the given seed, coin type, and account. pub fn from_zip32_seed( seed: &[u8], coin_type: u32, @@ -1102,7 +1102,6 @@ pub mod testing { IssuanceValidatingKey, SpendingKey, }; use proptest::prelude::*; - use rand::{rngs::StdRng, SeedableRng}; prop_compose! { /// Generate a uniformly distributed Orchard spending key. diff --git a/src/note/asset_base.rs b/src/note/asset_base.rs index a151b7f53..ca80b9f54 100644 --- a/src/note/asset_base.rs +++ b/src/note/asset_base.rs @@ -135,7 +135,7 @@ pub mod testing { use proptest::prelude::*; - use crate::keys::{testing::arb_issuance_master_key, IssuanceMasterKey, IssuanceValidatingKey}; + use crate::keys::{testing::arb_issuance_master_key, IssuanceValidatingKey}; prop_compose! { /// Generate a uniformly distributed note type