瀏覽代碼

Use heapless entrypoint

febo 11 月之前
父節點
當前提交
7bc8588da4
共有 1 個文件被更改,包括 2 次插入2 次删除
  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.
 ///