@@ -997,25 +997,21 @@ pub(crate) use write_descriptor;
997
997
#[ cfg( test) ]
998
998
mod tests {
999
999
use core:: convert:: TryFrom ;
1000
- use core:: str:: FromStr ;
1001
1000
1002
1001
use bitcoin:: blockdata:: opcodes:: all:: { OP_CLTV , OP_CSV } ;
1003
1002
use bitcoin:: blockdata:: script:: Instruction ;
1004
1003
use bitcoin:: blockdata:: { opcodes, script} ;
1005
1004
use bitcoin:: hashes:: hex:: FromHex ;
1006
- use bitcoin:: hashes:: { hash160 , sha256 , Hash } ;
1005
+ use bitcoin:: hashes:: Hash ;
1007
1006
use bitcoin:: script:: PushBytes ;
1008
1007
use bitcoin:: sighash:: EcdsaSighashType ;
1009
- use bitcoin:: { self , bip32, secp256k1 , PublicKey , Sequence } ;
1008
+ use bitcoin:: { bip32, PublicKey , Sequence } ;
1010
1009
1011
1010
use super :: checksum:: desc_checksum;
1012
- use super :: tr:: Tr ;
1013
1011
use super :: * ;
1014
- use crate :: descriptor:: key:: Wildcard ;
1015
- use crate :: descriptor:: { DescriptorPublicKey , DescriptorXKey , SinglePub } ;
1016
1012
#[ cfg( feature = "compiler" ) ]
1017
1013
use crate :: policy;
1018
- use crate :: { hex_script, Descriptor , Error , Miniscript , Satisfier } ;
1014
+ use crate :: hex_script;
1019
1015
1020
1016
type StdDescriptor = Descriptor < PublicKey > ;
1021
1017
const TEST_PK : & str = "pk(020000000000000000000000000000000000000000000000000000000000000002)" ;
0 commit comments