docs: Fix grammar

This commit is contained in:
Tobin C. Harding 2023-12-08 09:27:34 +11:00
parent 6fe073b324
commit 8704d9f0ae
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 2 additions and 2 deletions

View File

@ -671,7 +671,7 @@ impl<R: Borrow<Transaction>> SighashCache<R> {
/// Destroys the cache and recovers the stored transaction.
pub fn into_transaction(self) -> R { self.tx }
/// Encodes the BIP341 signing data for any flag type into a given object implementing a
/// Encodes the BIP341 signing data for any flag type into a given object implementing the
/// [`io::Write`] trait.
pub fn taproot_encode_signing_data_to<Write: io::Write + ?Sized, T: Borrow<TxOut>>(
&mut self,
@ -854,7 +854,7 @@ impl<R: Borrow<Transaction>> SighashCache<R> {
Ok(TapSighash::from_engine(enc))
}
/// Encodes the BIP143 signing data for any flag type into a given object implementing a
/// Encodes the BIP143 signing data for any flag type into a given object implementing the
/// [`std::io::Write`] trait.
///
/// `script_code` is dependent on the type of the spend transaction. For p2wpkh use