File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 []
3736pub fn upd_permissions (
3837 program_id : & Pubkey ,
3938 accounts : & [ AccountInfo ] ,
You can’t perform that action at this time.
0 commit comments