Move import statement
The code using this import is a feature gated test, move the import into the test. Found with clippy. Internal change only.
This commit is contained in:
parent
e84346644e
commit
29d23b4b3a
|
@ -1509,7 +1509,6 @@ mod tests {
|
||||||
use crate::consensus::deserialize;
|
use crate::consensus::deserialize;
|
||||||
use crate::locktime::absolute;
|
use crate::locktime::absolute;
|
||||||
use crate::script::ScriptBufExt as _;
|
use crate::script::ScriptBufExt as _;
|
||||||
use crate::taproot::TapTweakHashExt as _;
|
|
||||||
|
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
|
|
||||||
|
@ -1827,6 +1826,8 @@ mod tests {
|
||||||
fn bip_341_sighash_tests() {
|
fn bip_341_sighash_tests() {
|
||||||
use hex::DisplayHex;
|
use hex::DisplayHex;
|
||||||
|
|
||||||
|
use crate::taproot::TapTweakHashExt as _;
|
||||||
|
|
||||||
fn sighash_deser_numeric<'de, D>(deserializer: D) -> Result<TapSighashType, D::Error>
|
fn sighash_deser_numeric<'de, D>(deserializer: D) -> Result<TapSighashType, D::Error>
|
||||||
where
|
where
|
||||||
D: serde::Deserializer<'de>,
|
D: serde::Deserializer<'de>,
|
||||||
|
|
Loading…
Reference in New Issue