Skip to content

Commit

Permalink
chore: fix some comments (#4952)
Browse files Browse the repository at this point in the history
## Describe your changes

<!--
Describe what's changed and why. If interactive testing is required,
explain
to the reviewer how the PR should be tested.
-->

fix some comments

## Issue ticket number and link

## Checklist before requesting a review

- [ ] I have added guiding text to explain how a reviewer should test
these changes.

- [ ] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

  > REPLACE THIS TEXT WITH RATIONALE (CAN BE BRIEF)

Signed-off-by: clonefetch <[email protected]>
  • Loading branch information
clonefetch authored Dec 8, 2024
1 parent 43d948e commit 159f484
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/custody/src/policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub trait Policy {
/// A set of basic spend authorization policies.
///
/// These policies are intended to be simple enough that they can be written by hand in a config
/// file. More complex policy logic than than should be implemented by a custom implementation of
/// file. More complex policy logic than should be implemented by a custom implementation of
/// the [`Policy`] trait.
///
/// These policies do not permit validator votes or validator definition updates, so a custom policy
Expand Down
2 changes: 1 addition & 1 deletion docs/protocol/src/shielded_pool/action/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The body of an `Output` has four parts:
1. A `NotePayload`, which consists of the note commitment, the `NoteCiphertext`, and an ephemeral public key used to encrypt the note;
2. A balance commitment, which commits to the value balance of the output note;
3. The ovk wrapped key, which enables the _sender_ to later decrypt the `NoteCiphertext` using their `OutgoingViewingKey`;
4. The wrapped memo key, which enables one who can decrypt the `NoteCiphertext` to additionally decrypt the [`MemoCiphertext`](../../transactions/memo.md) on the tranasction.
4. The wrapped memo key, which enables one who can decrypt the `NoteCiphertext` to additionally decrypt the [`MemoCiphertext`](../../transactions/memo.md) on the transaction.

## Invariants

Expand Down
2 changes: 1 addition & 1 deletion docs/protocol/src/transactions/actions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Action Reference

This page is a quick-reference list of transaction actions. Not all actions have proof statements, as only some actions perfom shielded state changes. Actions with proof statements are additionally listed separately for reference.
This page is a quick-reference list of transaction actions. Not all actions have proof statements, as only some actions perform shielded state changes. Actions with proof statements are additionally listed separately for reference.

## Actions by Proof Statement

Expand Down

0 comments on commit 159f484

Please sign in to comment.