mirror of https://github.com/zcash/orchard.git
Add CompactAction::nullifier getter fn
This commit is contained in:
parent
4e12b4e90a
commit
6956c18d31
|
@ -327,6 +327,11 @@ impl CompactAction {
|
||||||
enc_ciphertext,
|
enc_ciphertext,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
///Returns the nullifier of the note being spent.
|
||||||
|
pub fn nullifier(&self) -> Nullifier {
|
||||||
|
self.nullifier
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
Loading…
Reference in New Issue