From 8ebe538eaa67dcbf1299dc6cb7f8fb9945bc4272 Mon Sep 17 00:00:00 2001 From: Alfredo Garcia Date: Wed, 26 Feb 2020 18:33:49 -0300 Subject: [PATCH] change maybe_cm to maybe_cmu --- src/zcbenchmarks.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zcbenchmarks.cpp b/src/zcbenchmarks.cpp index 9e62d8e90..5db123594 100644 --- a/src/zcbenchmarks.cpp +++ b/src/zcbenchmarks.cpp @@ -596,12 +596,12 @@ double benchmark_create_sapling_spend() auto address = sk.default_address(); SaplingNote note(address, GetRand(MAX_MONEY)); SaplingMerkleTree tree; - auto maybe_cm = note.cmu(); - tree.append(maybe_cm.get()); + auto maybe_cmu = note.cmu(); + tree.append(maybe_cmu.get()); auto anchor = tree.root(); auto witness = tree.witness(); auto maybe_nf = note.nullifier(expsk.full_viewing_key(), witness.position()); - if (!(maybe_cm && maybe_nf)) { + if (!(maybe_cmu && maybe_nf)) { throw JSONRPCError(RPC_INTERNAL_ERROR, "Could not create note commitment and nullifier"); }