Browse Source

Use heapless entrypoint

febo 10 months ago
parent
commit
7bc8588da4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      p-token/src/entrypoint.rs

+ 2 - 2
p-token/src/entrypoint.rs

@@ -1,11 +1,11 @@
 use pinocchio::{
-    account_info::AccountInfo, entrypoint, program_error::ProgramError, pubkey::Pubkey,
+    account_info::AccountInfo, heapless_entrypoint, program_error::ProgramError, pubkey::Pubkey,
     ProgramResult,
 };
 
 use crate::processor::*;
 
-entrypoint!(process_instruction);
+heapless_entrypoint!(process_instruction);
 
 /// Process an instruction.
 ///