@@ -64,7 +64,7 @@ mod tests {
6464 use elements:: secp256k1_zkp:: ZERO_TWEAK ;
6565 use elements:: {
6666 self , confidential, opcodes, script, secp256k1_zkp, AssetId , AssetIssuance ,
67- EcdsaSigHashType , LockTime , OutPoint , Script , Sequence , Transaction , TxIn , TxInWitness ,
67+ EcdsaSighashType , LockTime , OutPoint , Script , Sequence , Transaction , TxIn , TxInWitness ,
6868 TxOut , Txid ,
6969 } ;
7070
@@ -225,7 +225,7 @@ mod tests {
225225 0 ,
226226 confidential:: Value :: Explicit ( 200_000 ) ,
227227 & script_code,
228- EcdsaSigHashType :: All ,
228+ EcdsaSighashType :: All ,
229229 ) ;
230230
231231 // Create a signature to sign the input
@@ -236,7 +236,7 @@ mod tests {
236236 & secp256k1_zkp:: Message :: from_slice ( & sighash_u256[ ..] ) . unwrap ( ) ,
237237 & cov_sk,
238238 ) ;
239- let el_sig = ( sig, EcdsaSigHashType :: All ) ;
239+ let el_sig = ( sig, EcdsaSighashType :: All ) ;
240240
241241 // For satisfying the Pk part of the covenant
242242 struct SimpleSat {
@@ -284,7 +284,7 @@ mod tests {
284284 assert_eq ! (
285285 constraints. last( ) . unwrap( ) ,
286286 & SatisfiedConstraint :: PublicKey {
287- key_sig: interpreter:: KeySigPair :: Ecdsa ( desc. pk, ( sig, EcdsaSigHashType :: All ) )
287+ key_sig: interpreter:: KeySigPair :: Ecdsa ( desc. pk, ( sig, EcdsaSighashType :: All ) )
288288 }
289289 ) ;
290290 Ok ( ( ) )
@@ -429,7 +429,7 @@ mod tests {
429429 0 ,
430430 confidential:: Value :: Explicit ( 200_000 ) ,
431431 & script_code,
432- EcdsaSigHashType :: All ,
432+ EcdsaSighashType :: All ,
433433 ) ;
434434
435435 // Create a signature to sign the input
@@ -440,7 +440,7 @@ mod tests {
440440 & secp256k1_zkp:: Message :: from_slice ( & sighash_u256[ ..] ) . unwrap ( ) ,
441441 & sks[ 0 ] ,
442442 ) ;
443- let sig = ( sig, EcdsaSigHashType :: All ) ;
443+ let sig = ( sig, EcdsaSighashType :: All ) ;
444444
445445 // For satisfying the Pk part of the covenant
446446 struct SimpleSat {
0 commit comments