Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jon C <me@jonc.dev>
  • Loading branch information
samkim-crypto and joncinque authored Oct 21, 2024
1 parent 8e4de74 commit b358c18
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion token/confidential-transfer/elgamal-registry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "spl-elgamal-registry"
version = "0.1.0"
description = "Solana ElGamal Registry"
description = "Solana ElGamal Registry Program"
authors = ["Solana Labs Maintainers <maintainers@solanalabs.com>"]
repository = "https://github.com/solana-labs/solana-program-library"
license = "Apache-2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use {
pub enum RegistryInstruction {
/// Initialize an ElGamal public key registry.
///
/// 0. `[writeable, signer]` The funding account (must be a system account)
/// 0. `[writable, signer]` The funding account (must be a system account)
/// 1. `[writable]` The account to be created
/// 2. `[]` The wallet address (will also be the owner address for the
/// registry account)
Expand Down
2 changes: 1 addition & 1 deletion token/confidential-transfer/elgamal-registry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub mod state;
use solana_program::pubkey::Pubkey;

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

/// Derives the ElGamal registry account address and seed for the given wallet
/// address
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ pub enum ConfidentialTransferInstruction {
/// Accounts expected by this instruction:
///
/// * Single owner/delegate
/// 0. `[writeable]` The SPL Token account.
/// 0. `[writable]` The SPL Token account.
/// 1. `[]` The corresponding SPL Token mint.
/// 2. `[]` The ElGamal registry account.
/// 3. `[]` The account owner.
Expand Down

0 comments on commit b358c18

Please sign in to comment.