Fix deprecation notice
Recently we deprecated the `segwit_signature_hash` function but during development the deprecation notice got stale. Fix deprecation notice to use the actual function names.
This commit is contained in:
parent
c06c9beb01
commit
a0a3d4728a
|
@ -844,7 +844,7 @@ impl<R: Borrow<Transaction>> SighashCache<R> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Computes the BIP143 sighash for any flag type.
|
/// Computes the BIP143 sighash for any flag type.
|
||||||
#[deprecated(since = "0.31.0", note = "use segwit_v0_signature_hash instead")]
|
#[deprecated(since = "0.31.0", note = "use (p2wpkh|p2wsh)_signature_hash instead")]
|
||||||
pub fn segwit_signature_hash(
|
pub fn segwit_signature_hash(
|
||||||
&mut self,
|
&mut self,
|
||||||
input_index: usize,
|
input_index: usize,
|
||||||
|
|
Loading…
Reference in New Issue