diff --git a/CHANGELOG.md b/CHANGELOG.md index 44538b3..5a32079 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this library adheres to Rust's notion of ## [Unreleased] +### Changed +- `sapling_crypto::bundle::SpendDescriptionV5::into_spend_description` now + supports any `Authorization` for which the `SpendDescription` itself is fully + authorized. + ## [0.3.0] - 2024-10-02 ### Changed diff --git a/src/bundle.rs b/src/bundle.rs index c8fedbb..7ade87e 100644 --- a/src/bundle.rs +++ b/src/bundle.rs @@ -298,12 +298,15 @@ impl SpendDescriptionV5 { Self { cv, nullifier, rk } } - pub fn into_spend_description( + pub fn into_spend_description( self, anchor: bls12_381::Scalar, zkproof: GrothProofBytes, spend_auth_sig: redjubjub::Signature, - ) -> SpendDescription { + ) -> SpendDescription + where + A: Authorization>, + { SpendDescription { cv: self.cv, anchor,