From: Matt Corallo Date: Wed, 21 Dec 2022 16:38:28 +0000 (+0000) Subject: Clean up use ordering introduced in 9d7bb73b599a7a9d8468a2f0c54d28f X-Git-Tag: v0.0.114-beta~78^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=ac690e8191aadd7e726f48bb7814941f655d404b;p=rust-lightning Clean up use ordering introduced in 9d7bb73b599a7a9d8468a2f0c54d28f 9d7bb73b599a7a9d8468a2f0c54d28f0ce6cf543 moved some code around unnecessarily, which we fix here. --- diff --git a/lightning/src/util/test_utils.rs b/lightning/src/util/test_utils.rs index f4b751663..4f74791a1 100644 --- a/lightning/src/util/test_utils.rs +++ b/lightning/src/util/test_utils.rs @@ -36,6 +36,7 @@ use bitcoin::network::constants::Network; use bitcoin::hash_types::{BlockHash, Txid}; use bitcoin::secp256k1::{SecretKey, PublicKey, Secp256k1, ecdsa::Signature, Scalar}; +use bitcoin::secp256k1::ecdh::SharedSecret; use bitcoin::secp256k1::ecdsa::RecoverableSignature; use regex; @@ -51,7 +52,6 @@ use crate::chain::keysinterface::{InMemorySigner, Recipient, KeyMaterial, Entrop #[cfg(feature = "std")] use std::time::{SystemTime, UNIX_EPOCH}; -use bitcoin::secp256k1::ecdh::SharedSecret; use bitcoin::Sequence; pub struct TestVecWriter(pub Vec);