Correct a couple comments

This commit is contained in:
Taylor Hornby 2021-09-27 20:52:16 -06:00
parent 8779ce8f1a
commit 63a1c9d08e
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ impl Note {
self.value
}
/// Derives the ephemeral secret key for this note.
/// Returns the rseed value of this note.
pub(crate) fn rseed(&self) -> &RandomSeed {
&self.rseed
}

View File

@ -26,7 +26,7 @@ impl Nullifier {
/// from the uniqueness of $\rho$.
///
/// Instead of explicitly sampling for a unique nullifier, we rely here on the size of
/// the base field to make the chance of sapling a colliding nullifier negligible.
/// the base field to make the chance of sampling a colliding nullifier negligible.
pub(crate) fn dummy(rng: &mut impl RngCore) -> Self {
Nullifier(extract_p(&pallas::Point::random(rng)))
}