Skip to content

Commit

Permalink
token-2022: Fix docs in confidential transfer account definition. (#5268
Browse files Browse the repository at this point in the history
)
  • Loading branch information
harsh4786 authored Sep 14, 2023
1 parent f62b1b8 commit 908ea3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl ConfidentialTransferAccount {
/// A destination account can receive funds if the following conditions are satisfied:
/// 1. The account is approved by the confidential transfer mint authority
/// 2. The account is not disabled by the account owner
/// 3. The number of credits into the account has reached the maximum credit counter
/// 3. The number of credits into the account has not reached the maximum credit counter
pub fn valid_as_destination(&self) -> ProgramResult {
self.approved()?;

Expand Down

0 comments on commit 908ea3f

Please sign in to comment.