@@ -101,7 +101,7 @@ pub fn slice_invoke(instruction: &Instruction, account_infos: &[&AccountInfo]) -
101101/// 1. It has at least as many accounts as the number of accounts expected by
102102/// the instruction.
103103/// 2. The accounts match the expected accounts in the instruction, i.e., their
104- /// `Pubkey ` matches the `pubkey` in the `AccountMeta`.
104+ /// `Address ` matches the address in the `AccountMeta`.
105105/// 3. The borrow state of the accounts is compatible with the mutability of the
106106/// accounts in the instruction.
107107///
@@ -144,7 +144,7 @@ pub fn invoke_signed<const ACCOUNTS: usize>(
144144/// 1. It has at least as many accounts as the number of accounts expected by
145145/// the instruction.
146146/// 2. The accounts match the expected accounts in the instruction, i.e., their
147- /// `Pubkey ` matches the `pubkey` in the `AccountMeta`.
147+ /// `Address ` matches the address in the `AccountMeta`.
148148/// 3. The borrow state of the accounts is compatible with the mutability of the
149149/// accounts in the instruction.
150150///
@@ -203,7 +203,7 @@ pub fn invoke_signed_with_bounds<const MAX_ACCOUNTS: usize>(
203203/// 1. It has at least as many accounts as the number of accounts expected by
204204/// the instruction.
205205/// 2. The accounts match the expected accounts in the instruction, i.e., their
206- /// `Pubkey ` matches the `pubkey` in the `AccountMeta`.
206+ /// `Address ` matches the address in the `AccountMeta`.
207207/// 3. The borrow state of the accounts is compatible with the mutability of the
208208/// accounts in the instruction.
209209///
@@ -258,7 +258,7 @@ pub fn slice_invoke_signed(
258258/// 1. It has at least as many accounts as the number of accounts expected by
259259/// the instruction.
260260/// 2. The accounts match the expected accounts in the instruction, i.e., their
261- /// `Pubkey ` matches the `pubkey` in the `AccountMeta`.
261+ /// `Address ` matches the address in the `AccountMeta`.
262262/// 3. The borrow state of the accounts is compatible with the mutability of the
263263/// accounts in the instruction.
264264///
@@ -395,8 +395,8 @@ pub unsafe fn invoke_signed_unchecked(
395395 /// discarded immediately after.
396396 #[ repr( C ) ]
397397 struct CInstruction < ' a > {
398- /// Public key of the program.
399- program_id : * const Pubkey ,
398+ /// Address of the program.
399+ program_id : * const Address ,
400400
401401 /// Accounts expected by the program instruction.
402402 accounts : * const AccountMeta < ' a > ,
0 commit comments