mirror of https://github.com/zcash/halo2.git
impl Copy for Anchor
This commit is contained in:
parent
019ae7da8e
commit
5264d53498
|
@ -12,7 +12,7 @@ use rand::RngCore;
|
|||
use std::iter;
|
||||
|
||||
/// The root of an Orchard commitment tree.
|
||||
#[derive(Eq, PartialEq, Clone, Debug)]
|
||||
#[derive(Eq, PartialEq, Clone, Copy, Debug)]
|
||||
pub struct Anchor(pallas::Base);
|
||||
|
||||
impl From<pallas::Base> for Anchor {
|
||||
|
|
Loading…
Reference in New Issue