Fix unused import warning

An import was only used behind a feature gate.  The feature gate has
been added to the use statement to remove the warning.
This commit is contained in:
Jamil Lambert, PhD 2024-10-15 14:05:19 +01:00
parent fbc7aa7fd5
commit 8696cb4b07
No known key found for this signature in database
GPG Key ID: 54DC29234AB5D2C0
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
//! library is used with the `secp-recovery` feature. //! library is used with the `secp-recovery` feature.
use hashes::{sha256d, HashEngine}; use hashes::{sha256d, HashEngine};
#[cfg(feature = "secp-recovery")]
use secp256k1::SecretKey; use secp256k1::SecretKey;
use crate::consensus::encode::WriteExt; use crate::consensus::encode::WriteExt;