Skip to content

Commit

Permalink
Add SpendAuth to AuthorizedWithProof
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeykoren committed Feb 14, 2025
1 parent f1a50e6 commit edcdbe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ pub trait Authorization: fmt::Debug {
}

/// Defines the authorization type of an Orchard bundle with a proof.
pub trait AuthorizedWithProof: Authorization {
pub trait AuthorizedWithProof: Authorization<SpendAuth = redpallas::Signature<SpendAuth>> {
/// Return the proof component of the authorizing data.
fn proof(&self) -> &Proof;
}
Expand Down

0 comments on commit edcdbe6

Please sign in to comment.