diff --git a/src/builder.rs b/src/builder.rs index e5cc965c7..3c2830bb4 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -908,7 +908,7 @@ pub fn bundle, FL: OrchardFlavor>( /// Marker trait representing bundle signatures in the process of being created. pub trait InProgressSignatures: fmt::Debug { /// The authorization type of an Orchard action in the process of being authorized. - type SpendAuth: fmt::Debug; + type SpendAuth: fmt::Debug + Clone; } /// Marker for a bundle in the process of being built. @@ -1053,7 +1053,7 @@ impl InProgressSignatures for PartiallyAuthorized { /// A heisen[`Signature`] for a particular [`Action`]. /// /// [`Signature`]: redpallas::Signature -#[derive(Debug)] +#[derive(Debug, Clone)] pub enum MaybeSigned { /// The information needed to sign this [`Action`]. SigningMetadata(SigningParts), diff --git a/src/bundle.rs b/src/bundle.rs index 5b02ea5a4..90e90bbdb 100644 --- a/src/bundle.rs +++ b/src/bundle.rs @@ -187,7 +187,7 @@ impl Flags { /// Defines the authorization type of an Orchard bundle. pub trait Authorization: fmt::Debug { /// The authorization type of an Orchard action. - type SpendAuth: fmt::Debug; + type SpendAuth: fmt::Debug + Clone; } /// A bundle of actions to be applied to the ledger.