From 8e318f66daecc387e296c2975703bbbffdb4572e Mon Sep 17 00:00:00 2001
From: febo <febo@anza.xyz>
Date: Sun, 12 Jan 2025 02:02:43 +0000
Subject: [PATCH] Use non-chain process instruction

---
 program/tests/processor.rs | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/program/tests/processor.rs b/program/tests/processor.rs
index c7099ca..d4aa2a1 100644
--- a/program/tests/processor.rs
+++ b/program/tests/processor.rs
@@ -61,8 +61,7 @@ fn do_process_instruction(
         });
 
     let mollusk = Mollusk::new(&spl_token::ID, "spl_token");
-    let result =
-        mollusk.process_and_validate_instruction_chain(&[instruction], &instruction_accounts, &[]);
+    let result = mollusk.process_and_validate_instruction(&instruction, &instruction_accounts, &[]);
 
     // Update accounts after the instruction is processed.
     for (original, (_, updated)) in accounts.iter_mut().zip(result.resulting_accounts.iter()) {
@@ -102,8 +101,7 @@ fn do_process_instruction_dups(
     });
 
     let mollusk = Mollusk::new(&spl_token::ID, "spl_token");
-    let result =
-        mollusk.process_and_validate_instruction_chain(&[instruction], &dedup_accounts, &[]);
+    let result = mollusk.process_and_validate_instruction(&instruction, &dedup_accounts, &[]);
 
     // Update accounts after the instruction is processed.
     result