File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
use {
2
2
crate :: processor:: * ,
3
3
core:: {
4
- mem:: { transmute, MaybeUninit } ,
4
+ mem:: { size_of , transmute, MaybeUninit } ,
5
5
slice:: from_raw_parts,
6
6
} ,
7
7
pinocchio:: {
8
8
account_info:: AccountInfo ,
9
9
entrypoint:: deserialize,
10
- hint :: likely ,
10
+ log :: sol_log ,
11
11
no_allocator, nostd_panic_handler,
12
12
program_error:: { ProgramError , ToStr } ,
13
13
ProgramResult , MAX_TX_ACCOUNTS , SUCCESS ,
14
14
} ,
15
- pinocchio_token_interface:: error:: TokenError ,
15
+ pinocchio_token_interface:: { error:: TokenError , likely } ,
16
16
} ;
17
17
18
18
// Do not allocate memory.
@@ -216,7 +216,7 @@ pub unsafe extern "C" fn entrypoint(input: *mut u8) -> u64 {
216
216
/// Log an error.
217
217
#[ cold]
218
218
fn log_error ( error : & ProgramError ) {
219
- pinocchio :: log :: sol_log ( error. to_str :: < TokenError > ( ) ) ;
219
+ sol_log ( error. to_str :: < TokenError > ( ) ) ;
220
220
}
221
221
222
222
/// Process an instruction.
You can’t perform that action at this time.
0 commit comments