Merge rust-bitcoin/rust-bitcoin#918: Fix deprecated since version
8d602b8778
Fix deprecated since version (Tobin Harding) Pull request description: We deprecated the `bip143::SigHashCache` in ``` commit53d0e176d3
Author: <elided> Date: Fri Jul 16 10:44:18 2021 +0200 Deprecate bip143::SigHashCache in favor of sighash::SigHashCache ... ``` This means these changes are unreleased so the deprecated since version should be the upcoming 0.28 release. ACKs for top commit: sanket1729: Nice catch! ACK8d602b8778
dr-orlovsky: ACK8d602b8778
Tree-SHA512: 7fba5b542de0d03e519a77204908cacb78c160bc41e02010b2bb258d8620d988dbc5d686a7b9f5144bf5afea414cb2c1b0c0f4e817c08b16f4c48c6f8d0de427
This commit is contained in:
commit
0a2d45de09
|
@ -107,7 +107,7 @@ impl SighashComponents {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A replacement for SigHashComponents which supports all sighash modes
|
/// A replacement for SigHashComponents which supports all sighash modes
|
||||||
#[deprecated(since = "0.27.0", note = "please use [sighash::SigHashCache] instead")]
|
#[deprecated(since = "0.28.0", note = "please use [sighash::SigHashCache] instead")]
|
||||||
pub struct SigHashCache<R: Deref<Target = Transaction>> {
|
pub struct SigHashCache<R: Deref<Target = Transaction>> {
|
||||||
cache: sighash::SigHashCache<R>,
|
cache: sighash::SigHashCache<R>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue