Remove unnecessary rustdocs
The `deprecated` attribute already fully explains the status of a deprecated function and the replacement - no need to repeat this.
This commit is contained in:
parent
ea6bf12a64
commit
99e2a9f530
|
@ -213,23 +213,14 @@ fn size_from_script_pubkey(script_pubkey: &Script) -> usize {
|
||||||
/// Extension functionality for the [`Transaction`] type.
|
/// Extension functionality for the [`Transaction`] type.
|
||||||
pub trait TransactionExt: sealed::Sealed {
|
pub trait TransactionExt: sealed::Sealed {
|
||||||
/// Computes a "normalized TXID" which does not include any signatures.
|
/// Computes a "normalized TXID" which does not include any signatures.
|
||||||
///
|
|
||||||
/// This method is deprecated. `ntxid` has been renamed to `compute_ntxid` to note that it's
|
|
||||||
/// computationally expensive. Use `compute_ntxid` instead.
|
|
||||||
#[deprecated(since = "0.31.0", note = "use `compute_ntxid()` instead")]
|
#[deprecated(since = "0.31.0", note = "use `compute_ntxid()` instead")]
|
||||||
fn ntxid(&self) -> sha256d::Hash;
|
fn ntxid(&self) -> sha256d::Hash;
|
||||||
|
|
||||||
/// Computes the [`Txid`].
|
/// Computes the [`Txid`].
|
||||||
///
|
|
||||||
/// This method is deprecated. `txid` has been renamed to `compute_txid` to note that it's
|
|
||||||
/// computationally expensive. Use `compute_txid` instead.
|
|
||||||
#[deprecated(since = "0.31.0", note = "use `compute_txid()` instead")]
|
#[deprecated(since = "0.31.0", note = "use `compute_txid()` instead")]
|
||||||
fn txid(&self) -> Txid;
|
fn txid(&self) -> Txid;
|
||||||
|
|
||||||
/// Computes the segwit version of the transaction id.
|
/// Computes the segwit version of the transaction id.
|
||||||
///
|
|
||||||
/// This method is deprecated. `wtxid` has been renamed to `compute_wtxid` to note that it's
|
|
||||||
/// computationally expensive. Use `compute_wtxid` instead.
|
|
||||||
#[deprecated(since = "0.31.0", note = "use `compute_wtxid()` instead")]
|
#[deprecated(since = "0.31.0", note = "use `compute_wtxid()` instead")]
|
||||||
fn wtxid(&self) -> Wtxid;
|
fn wtxid(&self) -> Wtxid;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue