File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,7 @@ fn do_process_instruction(
6161 } ) ;
6262
6363 let mollusk = Mollusk :: new ( & spl_token:: ID , "spl_token" ) ;
64- let result =
65- mollusk. process_and_validate_instruction_chain ( & [ instruction] , & instruction_accounts, & [ ] ) ;
64+ let result = mollusk. process_and_validate_instruction ( & instruction, & instruction_accounts, & [ ] ) ;
6665
6766 // Update accounts after the instruction is processed.
6867 for ( original, ( _, updated) ) in accounts. iter_mut ( ) . zip ( result. resulting_accounts . iter ( ) ) {
@@ -102,8 +101,7 @@ fn do_process_instruction_dups(
102101 } ) ;
103102
104103 let mollusk = Mollusk :: new ( & spl_token:: ID , "spl_token" ) ;
105- let result =
106- mollusk. process_and_validate_instruction_chain ( & [ instruction] , & dedup_accounts, & [ ] ) ;
104+ let result = mollusk. process_and_validate_instruction ( & instruction, & dedup_accounts, & [ ] ) ;
107105
108106 // Update accounts after the instruction is processed.
109107 result
You can’t perform that action at this time.
0 commit comments