From 63a1c9d08ecea4e3952a7fcc5999fd506df30787 Mon Sep 17 00:00:00 2001 From: Taylor Hornby Date: Mon, 27 Sep 2021 20:52:16 -0600 Subject: [PATCH] Correct a couple comments --- src/note.rs | 2 +- src/note/nullifier.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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))) }