Skip to content

Commit 8a92c3e

Browse files
committed
fix comment
1 parent ce75369 commit 8a92c3e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

programs/system/src/cpi_context/process_cpi_context.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,14 @@ use crate::{
2222
errors::SystemProgramError, Result,
2323
};
2424

25-
/// Diff refactored Cpi context account:
26-
/// 1. return Cpi context instead of combined data.
27-
///
2825
/// Cpi context enables the use of input compressed accounts owned by different
2926
/// programs.
3027
///
3128
/// Example:
32-
/// - a transaction calling a pda program needs to transfer tokens and modify a
29+
/// - a transaction invokes a pda program, which transfers tokens and modifies a
3330
/// compressed pda
34-
/// - the pda is owned by pda program while the tokens are owned by the compressed
35-
/// token program
31+
/// - the compressed pda is owned by pda program while the
32+
/// compressed token accounts are owned by the compressed token program
3633
///
3734
/// without cpi context:
3835
/// - naively invoking each compressed token via cpi and modifying the pda

0 commit comments

Comments
 (0)