diff --git a/CHANGELOG.md b/CHANGELOG.md index 07637e07..7a562d95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to Rust's notion of ### Added - `impl subtle::ConstantTimeEq for note::Nullifier` +- `impl Clone for note_encryption::CompactAction` ## [0.7.0] - 2024-01-26 ### Licensing diff --git a/src/note/nullifier.rs b/src/note/nullifier.rs index 7fa97230..bde13399 100644 --- a/src/note/nullifier.rs +++ b/src/note/nullifier.rs @@ -3,7 +3,7 @@ use halo2_proofs::arithmetic::CurveExt; use memuse::DynamicUsage; use pasta_curves::pallas; use rand::RngCore; -use subtle::{CtOption, ConstantTimeEq}; +use subtle::{ConstantTimeEq, CtOption}; use super::NoteCommitment; use crate::{ diff --git a/src/note_encryption.rs b/src/note_encryption.rs index dc0766f0..00a6a17f 100644 --- a/src/note_encryption.rs +++ b/src/note_encryption.rs @@ -269,6 +269,7 @@ impl ShieldedOutput for Action { } /// A compact Action for light clients. +#[derive(Clone)] pub struct CompactAction { nullifier: Nullifier, cmx: ExtractedNoteCommitment,