mirror of https://github.com/zcash/orchard.git
Add `impl Clone for note_encryption::CompactAction`
This commit is contained in:
parent
ff7287e392
commit
8cc96b5420
|
@ -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
|
||||
|
|
|
@ -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::{
|
||||
|
|
|
@ -269,6 +269,7 @@ impl<T> ShieldedOutput<OrchardDomain, ENC_CIPHERTEXT_SIZE> for Action<T> {
|
|||
}
|
||||
|
||||
/// A compact Action for light clients.
|
||||
#[derive(Clone)]
|
||||
pub struct CompactAction {
|
||||
nullifier: Nullifier,
|
||||
cmx: ExtractedNoteCommitment,
|
||||
|
|
Loading…
Reference in New Issue