@@ -147,7 +147,7 @@ pub enum Error {
147147 WrongAnnex ,
148148
149149 /// Invalid Sighash type
150- InvalidSigHashType ( u8 ) ,
150+ InvalidSighashType ( u8 ) ,
151151}
152152
153153impl fmt:: Display for Error {
@@ -160,7 +160,7 @@ impl fmt::Display for Error {
160160 Error :: PrevoutIndex => write ! ( f, "The index requested is greater than available prevouts or different from the provided [Provided::Anyone] index" ) ,
161161 Error :: PrevoutKind => write ! ( f, "A single prevout has been provided but all prevouts are needed without `ANYONECANPAY`" ) ,
162162 Error :: WrongAnnex => write ! ( f, "Annex must be at least one byte long and the first bytes must be `0x50`" ) ,
163- Error :: InvalidSigHashType ( hash_ty) => write ! ( f, "Invalid schnorr Signature hash type : {} " , hash_ty) ,
163+ Error :: InvalidSighashType ( hash_ty) => write ! ( f, "Invalid schnorr Signature hash type : {} " , hash_ty) ,
164164 }
165165 }
166166}
@@ -588,7 +588,7 @@ impl<R: Deref<Target = Transaction>> SighashCache<R> {
588588
589589 /// Encodes the signing data from which a signature hash for a given input index with a given
590590 /// sighash flag can be computed. To actually produce a scriptSig, this hash needs to be run
591- /// through an ECDSA signer, the SigHashType appended to the resulting sig, and a script
591+ /// through an ECDSA signer, the SighashType appended to the resulting sig, and a script
592592 /// written around this, but this is the general (and hard) part.
593593 ///
594594 /// *Warning* This does NOT attempt to support OP_CODESEPARATOR. In general this would require
@@ -675,7 +675,7 @@ impl<R: Deref<Target = Transaction>> SighashCache<R> {
675675
676676 /// Computes a signature hash for a given input index with a given sighash flag.
677677 /// To actually produce a scriptSig, this hash needs to be run through an
678- /// ECDSA signer, the SigHashType appended to the resulting sig, and a
678+ /// ECDSA signer, the SighashType appended to the resulting sig, and a
679679 /// script written around this, but this is the general (and hard) part.
680680 /// Does not take a mutable reference because it does not do any caching.
681681 ///
0 commit comments