Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit b358c18

Browse files
Apply suggestions from code review
Co-authored-by: Jon C <[email protected]>
1 parent 8e4de74 commit b358c18

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

token/confidential-transfer/elgamal-registry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "spl-elgamal-registry"
33
version = "0.1.0"
4-
description = "Solana ElGamal Registry"
4+
description = "Solana ElGamal Registry Program"
55
authors = ["Solana Labs Maintainers <[email protected]>"]
66
repository = "https://github.com/solana-labs/solana-program-library"
77
license = "Apache-2.0"

token/confidential-transfer/elgamal-registry/src/instruction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use {
1717
pub enum RegistryInstruction {
1818
/// Initialize an ElGamal public key registry.
1919
///
20-
/// 0. `[writeable, signer]` The funding account (must be a system account)
20+
/// 0. `[writable, signer]` The funding account (must be a system account)
2121
/// 1. `[writable]` The account to be created
2222
/// 2. `[]` The wallet address (will also be the owner address for the
2323
/// registry account)

token/confidential-transfer/elgamal-registry/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pub mod state;
66
use solana_program::pubkey::Pubkey;
77

88
/// Seed for the ElGamal registry program-derived address
9-
pub const REGISTRY_ADDRESS_SEED: &[u8] = "elgamal-registry".as_bytes();
9+
pub const REGISTRY_ADDRESS_SEED: &[u8] = b"elgamal-registry";
1010

1111
/// Derives the ElGamal registry account address and seed for the given wallet
1212
/// address

token/program-2022/src/extension/confidential_transfer/instruction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ pub enum ConfidentialTransferInstruction {
487487
/// Accounts expected by this instruction:
488488
///
489489
/// * Single owner/delegate
490-
/// 0. `[writeable]` The SPL Token account.
490+
/// 0. `[writable]` The SPL Token account.
491491
/// 1. `[]` The corresponding SPL Token mint.
492492
/// 2. `[]` The ElGamal registry account.
493493
/// 3. `[]` The account owner.

0 commit comments

Comments
 (0)