File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,11 @@ pub use add_publisher::{
4444 DISABLE_ACCUMULATOR_V2 ,
4545 ENABLE_ACCUMULATOR_V2 ,
4646} ;
47+ use solana_program:: {
48+ program_error:: ProgramError ,
49+ rent:: Rent ,
50+ sysvar:: Sysvar ,
51+ } ;
4752pub use {
4853 add_price:: add_price,
4954 add_product:: add_product,
@@ -66,11 +71,6 @@ pub use {
6671 } ,
6772 upd_product:: upd_product,
6873} ;
69- use solana_program:: {
70- program_error:: ProgramError ,
71- rent:: Rent ,
72- sysvar:: Sysvar ,
73- } ;
7474
7575
7676/// Dispatch to the right instruction in the oracle.
@@ -105,7 +105,9 @@ pub fn process_instruction(
105105 UpdPermissions => upd_permissions ( program_id, accounts, instruction_data) ,
106106 SetMaxLatency => set_max_latency ( program_id, accounts, instruction_data) ,
107107 InitPriceFeedIndex => {
108- solana_program:: msg!( "Oracle init price feed index instruction has been removed. Bailing out!" ) ;
108+ solana_program:: msg!(
109+ "Oracle init price feed index instruction has been removed. Bailing out!"
110+ ) ;
109111 Err ( OracleError :: UnrecognizedInstruction . into ( ) )
110112 }
111113 ResizeMapping => resize_mapping ( program_id, accounts, instruction_data) ,
You can’t perform that action at this time.
0 commit comments