diff --git a/src/note.rs b/src/note.rs index 33cdc6af..199971d2 100644 --- a/src/note.rs +++ b/src/note.rs @@ -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 } diff --git a/src/note/nullifier.rs b/src/note/nullifier.rs index 75d2c40b..6090f335 100644 --- a/src/note/nullifier.rs +++ b/src/note/nullifier.rs @@ -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))) }