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:
parent
fbc7aa7fd5
commit
8696cb4b07
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue