From f90e52df92701adc32a35a3c30341c9cc0e54abd Mon Sep 17 00:00:00 2001 From: Daira-Emma Hopwood Date: Tue, 6 Feb 2024 21:39:47 +0000 Subject: [PATCH] Update the doc for `struct Action`. This was originally written when the Orchard design had not yet been finalized. Signed-off-by: Daira-Emma Hopwood --- src/action.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/action.rs b/src/action.rs index d0b73f23..76ec740d 100644 --- a/src/action.rs +++ b/src/action.rs @@ -8,12 +8,8 @@ use crate::{ /// An action applied to the global ledger. /// -/// Externally, this both creates a note (adding a commitment to the global ledger), -/// and consumes some note created prior to this action (adding a nullifier to the -/// global ledger). -/// -/// Internally, this may both consume a note and create a note, or it may do only one of -/// the two. TODO: Determine which is more efficient (circuit size vs bundle size). +/// This both creates a note (adding a commitment to the global ledger), and consumes +/// some note created prior to this action (adding a nullifier to the global ledger). #[derive(Debug, Clone)] pub struct Action { /// The nullifier of the note being spent.