From 9ffef93d1fd1b110dd45f1b4e345358193d77598 Mon Sep 17 00:00:00 2001 From: Eric Tu Date: Thu, 10 Oct 2024 15:16:49 -0400 Subject: [PATCH] zcash_client_backend: non controversial Clone derives --- zcash_client_backend/src/wallet.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zcash_client_backend/src/wallet.rs b/zcash_client_backend/src/wallet.rs index 3a04aa200c..ab66582b47 100644 --- a/zcash_client_backend/src/wallet.rs +++ b/zcash_client_backend/src/wallet.rs @@ -172,6 +172,7 @@ impl Recipient, O> { /// The shielded subset of a [`Transaction`]'s data that is relevant to a particular wallet. /// /// [`Transaction`]: zcash_primitives::transaction::Transaction +#[derive(Clone)] pub struct WalletTx { txid: TxId, block_index: usize, @@ -301,6 +302,7 @@ impl transparent_fees::InputView for WalletTransparentOutput { } /// A reference to a spent note belonging to the wallet within a transaction. +#[derive(Clone)] pub struct WalletSpend { index: usize, nf: Nf, @@ -340,6 +342,7 @@ pub type WalletSaplingSpend = WalletSpend = WalletSpend; /// An output that was successfully decrypted in the process of wallet scanning. +#[derive(Clone)] pub struct WalletOutput { index: usize, ephemeral_key: EphemeralKeyBytes,