File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,9 @@ pub enum OracleCommand {
95
95
DelProduct = 16 ,
96
96
/// Update authorities
97
97
// 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 []
102
101
UpdPermissions = 17 ,
103
102
}
104
103
Original file line number Diff line number Diff line change 30
30
/// This function can create and update the permissions accounts, which stores
31
31
/// several public keys that can execute administrative instructions in the pyth program
32
32
// 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 []
37
36
pub fn upd_permissions (
38
37
program_id : & Pubkey ,
39
38
accounts : & [ AccountInfo ] ,
You can’t perform that action at this time.
0 commit comments