@@ -122,14 +122,14 @@ use std::{error, fmt, hash, str};
122
122
use bitcoin:: blockdata:: { opcodes, script} ;
123
123
use bitcoin:: hashes:: { hash160, sha256, Hash } ;
124
124
125
- pub use descriptor:: { Descriptor , DescriptorPublicKey , DescriptorTrait } ;
126
- pub use interpreter:: Interpreter ;
127
- pub use miniscript:: context:: { BareCtx , Legacy , ScriptContext , Segwitv0 , Tap } ;
128
- pub use miniscript:: decode:: Terminal ;
129
- pub use miniscript:: satisfy:: { Preimage32 , Satisfier } ;
130
- pub use miniscript:: Miniscript ;
125
+ pub use crate :: descriptor:: { Descriptor , DescriptorPublicKey , DescriptorTrait } ;
126
+ pub use crate :: interpreter:: Interpreter ;
127
+ pub use crate :: miniscript:: context:: { BareCtx , Legacy , ScriptContext , Segwitv0 , Tap } ;
128
+ pub use crate :: miniscript:: decode:: Terminal ;
129
+ pub use crate :: miniscript:: satisfy:: { Preimage32 , Satisfier } ;
130
+ pub use crate :: miniscript:: Miniscript ;
131
131
132
- pub use descriptor:: pretaproot:: { traits:: PreTaprootDescriptorTrait , PreTaprootDescriptor } ;
132
+ pub use crate :: descriptor:: pretaproot:: { traits:: PreTaprootDescriptorTrait , PreTaprootDescriptor } ;
133
133
134
134
///Public key trait which can be converted to Hash type
135
135
pub trait MiniscriptKey : Clone + Eq + Ord + fmt:: Debug + fmt:: Display + hash:: Hash {
@@ -556,7 +556,7 @@ pub enum Error {
556
556
Secp ( bitcoin:: secp256k1:: Error ) ,
557
557
#[ cfg( feature = "compiler" ) ]
558
558
/// Compiler related errors
559
- CompilerError ( policy:: compiler:: CompilerError ) ,
559
+ CompilerError ( crate :: policy:: compiler:: CompilerError ) ,
560
560
/// Errors related to policy
561
561
PolicyError ( policy:: concrete:: PolicyError ) ,
562
562
/// Errors related to lifting
@@ -730,8 +730,8 @@ impl fmt::Display for Error {
730
730
731
731
#[ doc( hidden) ]
732
732
#[ cfg( feature = "compiler" ) ]
733
- impl From < policy:: compiler:: CompilerError > for Error {
734
- fn from ( e : policy:: compiler:: CompilerError ) -> Error {
733
+ impl From < crate :: policy:: compiler:: CompilerError > for Error {
734
+ fn from ( e : crate :: policy:: compiler:: CompilerError ) -> Error {
735
735
Error :: CompilerError ( e)
736
736
}
737
737
}
0 commit comments