@@ -997,25 +997,21 @@ pub(crate) use write_descriptor;
997997#[ cfg( test) ]
998998mod tests {
999999 use core:: convert:: TryFrom ;
1000- use core:: str:: FromStr ;
10011000
10021001 use bitcoin:: blockdata:: opcodes:: all:: { OP_CLTV , OP_CSV } ;
10031002 use bitcoin:: blockdata:: script:: Instruction ;
10041003 use bitcoin:: blockdata:: { opcodes, script} ;
10051004 use bitcoin:: hashes:: hex:: FromHex ;
1006- use bitcoin:: hashes:: { hash160 , sha256 , Hash } ;
1005+ use bitcoin:: hashes:: Hash ;
10071006 use bitcoin:: script:: PushBytes ;
10081007 use bitcoin:: sighash:: EcdsaSighashType ;
1009- use bitcoin:: { self , bip32, secp256k1 , PublicKey , Sequence } ;
1008+ use bitcoin:: { bip32, PublicKey , Sequence } ;
10101009
10111010 use super :: checksum:: desc_checksum;
1012- use super :: tr:: Tr ;
10131011 use super :: * ;
1014- use crate :: descriptor:: key:: Wildcard ;
1015- use crate :: descriptor:: { DescriptorPublicKey , DescriptorXKey , SinglePub } ;
10161012 #[ cfg( feature = "compiler" ) ]
10171013 use crate :: policy;
1018- use crate :: { hex_script, Descriptor , Error , Miniscript , Satisfier } ;
1014+ use crate :: hex_script;
10191015
10201016 type StdDescriptor = Descriptor < PublicKey > ;
10211017 const TEST_PK : & str = "pk(020000000000000000000000000000000000000000000000000000000000000002)" ;
0 commit comments