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:
Tobin C. Harding 2023-08-30 10:19:52 +10:00
parent c06c9beb01
commit a0a3d4728a
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -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,