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:
Tobin C. Harding 2023-01-23 13:30:57 +11:00
parent d66ee48482
commit b13a76407b
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 7 additions and 4 deletions

View File

@ -544,14 +544,17 @@ impl<'de> serde::Deserialize<'de> for PublicKey {
#[cfg(test)]
mod tests {
use crate::io;
use super::{PrivateKey, PublicKey, SortKey};
use secp256k1::Secp256k1;
use super::*;
use std::str::FromStr;
use secp256k1::Secp256k1;
use crate::address::Address;
use crate::hashes::hex::FromHex;
use crate::io;
use crate::network::constants::Network::Testnet;
use crate::network::constants::Network::Bitcoin;
use crate::address::Address;
#[test]
fn test_key_derivation() {