Merge rust-bitcoin/rust-bitcoin#2041: Fix deprecation notice
a0a3d4728a
Fix deprecation notice (Tobin C. Harding) Pull request description: 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. ACKs for top commit: RCasatta: ACKa0a3d4728a
apoelstra: ACKa0a3d4728a
Tree-SHA512: d84941b605c5bc6ceab75cd60eb820c1d2c16fcd1431dc3927dc22d79886d3de26fd796fab92d97e7f8d567eab0b5a1987303107720524e7b648b1168541a2ed
This commit is contained in:
commit
3dc75b5071
|
@ -844,7 +844,7 @@ impl<R: Borrow<Transaction>> SighashCache<R> {
|
|||
}
|
||||
|
||||
/// 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(
|
||||
&mut self,
|
||||
input_index: usize,
|
||||
|
|
Loading…
Reference in New Issue