Skip to content

Commit ffdc584

Browse files
authored
Update comment (#330)
1 parent 8e2b670 commit ffdc584

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

program/rust/src/instruction.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,9 @@ pub enum OracleCommand {
9595
DelProduct = 16,
9696
/// Update authorities
9797
// key[0] upgrade authority [signer writable]
98-
// key[1] program account []
99-
// key[2] programdata account []
100-
// key[3] permissions account [writable]
101-
// key[4] system program []
98+
// key[1] programdata account []
99+
// key[2] permissions account [writable]
100+
// key[3] system program []
102101
UpdPermissions = 17,
103102
}
104103

program/rust/src/processor/upd_permissions.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ use {
3030
/// This function can create and update the permissions accounts, which stores
3131
/// several public keys that can execute administrative instructions in the pyth program
3232
// key[0] upgrade authority [signer writable]
33-
// key[1] program account []
34-
// key[2] programdata account []
35-
// key[3] permissions account [writable]
36-
// key[4] system program []
33+
// key[1] programdata account []
34+
// key[2] permissions account [writable]
35+
// key[3] system program []
3736
pub fn upd_permissions(
3837
program_id: &Pubkey,
3938
accounts: &[AccountInfo],

0 commit comments

Comments
 (0)