Skip to content

Commit 071c8fd

Browse files
publicqifebo
authored andcommitted
add memo program (anza-xyz#105)
* add memo program * use MAX_CPI_ACCOUNTS over MAX_TX_ACCOUNTS * nit * add account info borrowing check * update docstring and comments * use &str over &[u8] * check num_accounts * avoid unnecessary codegen * update doc to use &str over &[u8] * fix doc * seperate lifetime
1 parent bab4d0d commit 071c8fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instruction-view/src/cpi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::{
1111
};
1212

1313
/// Maximum number of accounts that can be passed to a cross-program invocation.
14-
const MAX_CPI_ACCOUNTS: usize = 64;
14+
pub const MAX_CPI_ACCOUNTS: usize = 64;
1515

1616
/// An `Instruction` as expected by `sol_invoke_signed_c`.
1717
///

0 commit comments

Comments
 (0)