Skip to content

Commit

Permalink
Merge pull request #418 from daira/action-doc-nit
Browse files Browse the repository at this point in the history
Trivial update to the doc for `struct Action`
  • Loading branch information
str4d authored Feb 26, 2024
2 parents 3d79ba4 + f90e52d commit f8857e8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<A> {
/// The nullifier of the note being spent.
Expand Down

0 comments on commit f8857e8

Please sign in to comment.