Skip to content

Commit a18e3bf

Browse files
authored
Apply suggestions from code review
1 parent e3fa870 commit a18e3bf

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

program/rust/src/instruction.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ pub enum OracleCommand {
109109
// account[1] price account [writable]
110110
// account[2] permissions account [writable]
111111
InitPriceFeedIndex = 19,
112-
// account[0] funding account [signer writable]
113-
// account[1] mapping account [writable]
112+
// account[0] mapping account [writable]
114113
ResizeMapping = 20,
115114
}
116115

program/rust/src/processor/resize_mapping.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ use {
3232
};
3333

3434
/// Resize mapping account.
35-
// account[1] mapping account [writable]
35+
// account[0] mapping account [writable]
3636
pub fn resize_mapping(
3737
program_id: &Pubkey,
3838
accounts: &[AccountInfo],

0 commit comments

Comments
 (0)