Doc: shielded data always contains at least one action (#2218)
Remove an incorrect part of a comment
This commit is contained in:
parent
f77441d49c
commit
f0c271bcfe
|
@ -44,8 +44,7 @@ impl ShieldedData {
|
|||
self.actions.actions()
|
||||
}
|
||||
|
||||
/// Collect the [`Nullifier`]s for this transaction, if it contains
|
||||
/// [`Action`]s.
|
||||
/// Collect the [`Nullifier`]s for this transaction.
|
||||
pub fn nullifiers(&self) -> impl Iterator<Item = &Nullifier> {
|
||||
self.actions().map(|action| &action.nullifier)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue