Fix deprecated since version

We deprecated the `bip143::SigHashCache` in

```
commit 53d0e176d3
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.
This commit is contained in:
Tobin Harding 2022-03-29 10:56:56 +11:00
parent 730d35516c
commit 8d602b8778
1 changed files with 1 additions and 1 deletions

View File

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