Skip to content

Commit d76f06a

Browse files
committed
Merge rust-bitcoin/rust-bitcoin#918: Fix deprecated since version
8d602b8 Fix deprecated since version (Tobin Harding) Pull request description: We deprecated the `bip143::SigHashCache` in ``` commit 53d0e17 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! ACK 8d602b8 dr-orlovsky: ACK 8d602b8 Tree-SHA512: 7fba5b542de0d03e519a77204908cacb78c160bc41e02010b2bb258d8620d988dbc5d686a7b9f5144bf5afea414cb2c1b0c0f4e817c08b16f4c48c6f8d0de427
2 parents 3457a66 + 6f27bf5 commit d76f06a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/bip143.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl SighashComponents {
107107
}
108108

109109
/// A replacement for SigHashComponents which supports all sighash modes
110-
#[deprecated(since = "0.27.0", note = "please use [sighash::SigHashCache] instead")]
110+
#[deprecated(since = "0.28.0", note = "please use [sighash::SigHashCache] instead")]
111111
pub struct SigHashCache<R: Deref<Target = Transaction>> {
112112
cache: sighash::SigHashCache<R>,
113113
}

0 commit comments

Comments
 (0)