File tree 1 file changed +8
-6
lines changed
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::{
44
44
DISABLE_ACCUMULATOR_V2 ,
45
45
ENABLE_ACCUMULATOR_V2 ,
46
46
} ;
47
+ use solana_program:: {
48
+ program_error:: ProgramError ,
49
+ rent:: Rent ,
50
+ sysvar:: Sysvar ,
51
+ } ;
47
52
pub use {
48
53
add_price:: add_price,
49
54
add_product:: add_product,
@@ -66,11 +71,6 @@ pub use {
66
71
} ,
67
72
upd_product:: upd_product,
68
73
} ;
69
- use solana_program:: {
70
- program_error:: ProgramError ,
71
- rent:: Rent ,
72
- sysvar:: Sysvar ,
73
- } ;
74
74
75
75
76
76
/// Dispatch to the right instruction in the oracle.
@@ -105,7 +105,9 @@ pub fn process_instruction(
105
105
UpdPermissions => upd_permissions ( program_id, accounts, instruction_data) ,
106
106
SetMaxLatency => set_max_latency ( program_id, accounts, instruction_data) ,
107
107
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
+ ) ;
109
111
Err ( OracleError :: UnrecognizedInstruction . into ( ) )
110
112
}
111
113
ResizeMapping => resize_mapping ( program_id, accounts, instruction_data) ,
You can’t perform that action at this time.
0 commit comments