docs: Fix grammar
This commit is contained in:
parent
6fe073b324
commit
8704d9f0ae
|
@ -671,7 +671,7 @@ impl<R: Borrow<Transaction>> SighashCache<R> {
|
||||||
/// Destroys the cache and recovers the stored transaction.
|
/// Destroys the cache and recovers the stored transaction.
|
||||||
pub fn into_transaction(self) -> R { self.tx }
|
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.
|
/// [`io::Write`] trait.
|
||||||
pub fn taproot_encode_signing_data_to<Write: io::Write + ?Sized, T: Borrow<TxOut>>(
|
pub fn taproot_encode_signing_data_to<Write: io::Write + ?Sized, T: Borrow<TxOut>>(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
@ -854,7 +854,7 @@ impl<R: Borrow<Transaction>> SighashCache<R> {
|
||||||
Ok(TapSighash::from_engine(enc))
|
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.
|
/// [`std::io::Write`] trait.
|
||||||
///
|
///
|
||||||
/// `script_code` is dependent on the type of the spend transaction. For p2wpkh use
|
/// `script_code` is dependent on the type of the spend transaction. For p2wpkh use
|
||||||
|
|
Loading…
Reference in New Issue