File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
programs/system/src/cpi_context Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,14 @@ use crate::{
22
22
errors:: SystemProgramError , Result ,
23
23
} ;
24
24
25
- /// Diff refactored Cpi context account:
26
- /// 1. return Cpi context instead of combined data.
27
- ///
28
25
/// Cpi context enables the use of input compressed accounts owned by different
29
26
/// programs.
30
27
///
31
28
/// 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
33
30
/// 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
36
33
///
37
34
/// without cpi context:
38
35
/// - naively invoking each compressed token via cpi and modifying the pda
You can’t perform that action at this time.
0 commit comments