Merge pull request #418 from daira/action-doc-nit

Trivial update to the doc for `struct Action`
This commit is contained in:
str4d 2024-02-26 18:05:50 +00:00 committed by GitHub
commit f8857e8292
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 6 deletions

View File

@ -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.