File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
sdk/pinocchio/src/entrypoint Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ use crate::{
2222 Address , BPF_ALIGN_OF_U128 , MAX_TX_ACCOUNTS ,
2323} ;
2424
25+ use crate :: { BPF_ALIGN_OF_U128 , NON_DUP_MARKER } ;
26+
2527/// Start address of the memory region used for program heap.
2628pub const HEAP_START_ADDRESS : u64 = 0x300000000 ;
2729
@@ -170,8 +172,8 @@ macro_rules! program_entrypoint {
170172 /// Program entrypoint.
171173 #[ no_mangle]
172174 pub unsafe extern "C" fn entrypoint( input: * mut u8 ) -> u64 {
173- const UNINIT : core:: mem:: MaybeUninit <$crate:: AccountView > =
174- core:: mem:: MaybeUninit :: <$crate:: AccountView >:: uninit( ) ;
175+ const UNINIT : core:: mem:: MaybeUninit <$crate:: account_view :: AccountView > =
176+ core:: mem:: MaybeUninit :: <$crate:: account_view :: AccountView >:: uninit( ) ;
175177 // Create an array of uninitialized account infos.
176178 let mut accounts = [ UNINIT ; $maximum] ;
177179
You can’t perform that action at this time.
0 commit comments