From f54feda94fb6ea9d75b154e4770c9a6fcf131cf7 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 26 Apr 2018 12:30:08 +0100 Subject: [PATCH] Fix comment h/t omershlo from Zcash Community Chat for spotting it! --- src/circuit/sapling/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/circuit/sapling/mod.rs b/src/circuit/sapling/mod.rs index 1dbadd9..dbfc4ce 100644 --- a/src/circuit/sapling/mod.rs +++ b/src/circuit/sapling/mod.rs @@ -448,7 +448,7 @@ impl<'a, E: JubjubEngine> Circuit for Spend<'a, E> { )?; } - // Let's compute nf = BLAKE2s(rk || rho) + // Let's compute nf = BLAKE2s(nk || rho) nf_preimage.extend( rho.repr(cs.namespace(|| "representation of rho"))? );