File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ use solana_program::entrypoint::deserialize;
66use solana_program:: pubkey:: Pubkey ;
77use solana_program:: sysvar:: slot_history:: AccountInfo ;
88
9-
109//Below is a high lever description of the rust/c setup.
1110
1211//As we migrate from C to Rust, our Rust code needs to be able to interract with C
@@ -45,7 +44,8 @@ pub extern "C" fn entrypoint(input: *mut u8) -> u64 {
4544 panic ! ( "insufficient data, could not parse instruction" ) ;
4645 }
4746
48- let cmd_data = c_oracle_header:: cmd_hdr:: try_from_slice ( & instruction_data[ ..cmd_hdr_size] ) . unwrap ( ) ;
47+ let cmd_data =
48+ c_oracle_header:: cmd_hdr:: try_from_slice ( & instruction_data[ ..cmd_hdr_size] ) . unwrap ( ) ;
4949
5050 if cmd_data. ver_ != c_oracle_header:: PC_VERSION {
5151 //FIXME: I am not sure what's best to do here (this is copied from C)
You can’t perform that action at this time.
0 commit comments