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