keys: Clean up test imports
Clean up the test import statements in the `keys` module. Done in preparation for adding a unit test.
This commit is contained in:
parent
d66ee48482
commit
b13a76407b
|
@ -544,14 +544,17 @@ impl<'de> serde::Deserialize<'de> for PublicKey {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::io;
|
use super::*;
|
||||||
use super::{PrivateKey, PublicKey, SortKey};
|
|
||||||
use secp256k1::Secp256k1;
|
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
|
||||||
|
use secp256k1::Secp256k1;
|
||||||
|
|
||||||
|
use crate::address::Address;
|
||||||
use crate::hashes::hex::FromHex;
|
use crate::hashes::hex::FromHex;
|
||||||
|
use crate::io;
|
||||||
use crate::network::constants::Network::Testnet;
|
use crate::network::constants::Network::Testnet;
|
||||||
use crate::network::constants::Network::Bitcoin;
|
use crate::network::constants::Network::Bitcoin;
|
||||||
use crate::address::Address;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_key_derivation() {
|
fn test_key_derivation() {
|
||||||
|
|
Loading…
Reference in New Issue