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

Commit 3ace556

Browse files
committed
fix typo
1 parent 253c2d7 commit 3ace556

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ impl ApplyPendingBalanceAccountInfo {
147147
#[repr(C)]
148148
#[derive(Clone, Copy, Debug, Default, PartialEq, Pod, Zeroable)]
149149
pub struct WithdrawAccountInfo {
150-
/// The available balance (encrypted by `encrypiton_pubkey`)
150+
/// The available balance (encrypted by `encryption_pubkey`)
151151
pub available_balance: EncryptedBalance,
152152
/// The decryptable available balance
153153
pub decryptable_available_balance: DecryptableBalance,
@@ -214,7 +214,7 @@ impl WithdrawAccountInfo {
214214
#[repr(C)]
215215
#[derive(Clone, Copy, Debug, Default, PartialEq, Pod, Zeroable)]
216216
pub struct TransferAccountInfo {
217-
/// The available balance (encrypted by `encrypiton_pubkey`)
217+
/// The available balance (encrypted by `encryption_pubkey`)
218218
pub available_balance: EncryptedBalance,
219219
/// The decryptable available balance
220220
pub decryptable_available_balance: DecryptableBalance,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ pub struct ConfidentialTransferAccount {
9090
/// The high 48 bits of the pending balance (encrypted by `elgamal_pubkey`)
9191
pub pending_balance_hi: EncryptedBalance,
9292

93-
/// The available balance (encrypted by `encrypiton_pubkey`)
93+
/// The available balance (encrypted by `encryption_pubkey`)
9494
pub available_balance: EncryptedBalance,
9595

9696
/// The decryptable available balance

0 commit comments

Comments
 (0)