@@ -110,13 +110,34 @@ pub(crate) fn inner_process_instruction(
110
110
111
111
process_mint_to ( accounts, instruction_data)
112
112
}
113
+ // 8 - Burn
114
+ 8 => {
115
+ #[ cfg( feature = "logging" ) ]
116
+ pinocchio:: msg!( "Instruction: Burn" ) ;
117
+
118
+ process_burn ( accounts, instruction_data)
119
+ }
113
120
// 9 - CloseAccount
114
121
9 => {
115
122
#[ cfg( feature = "logging" ) ]
116
123
pinocchio:: msg!( "Instruction: CloseAccount" ) ;
117
124
118
125
process_close_account ( accounts)
119
126
}
127
+ // 12 - TransferChecked
128
+ 12 => {
129
+ #[ cfg( feature = "logging" ) ]
130
+ pinocchio:: msg!( "Instruction: TransferChecked" ) ;
131
+
132
+ process_transfer_checked ( accounts, instruction_data)
133
+ }
134
+ // 15 - BurnChecked
135
+ 15 => {
136
+ #[ cfg( feature = "logging" ) ]
137
+ pinocchio:: msg!( "Instruction: BurnChecked" ) ;
138
+
139
+ process_burn_checked ( accounts, instruction_data)
140
+ }
120
141
// 16 - InitializeAccount2
121
142
16 => {
122
143
#[ cfg( feature = "logging" ) ]
@@ -182,13 +203,6 @@ fn inner_process_remaining_instruction(
182
203
183
204
process_set_authority ( accounts, instruction_data)
184
205
}
185
- // 8 - Burn
186
- 8 => {
187
- #[ cfg( feature = "logging" ) ]
188
- pinocchio:: msg!( "Instruction: Burn" ) ;
189
-
190
- process_burn ( accounts, instruction_data)
191
- }
192
206
// 10 - FreezeAccount
193
207
10 => {
194
208
#[ cfg( feature = "logging" ) ]
@@ -203,13 +217,6 @@ fn inner_process_remaining_instruction(
203
217
204
218
process_thaw_account ( accounts)
205
219
}
206
- // 12 - TransferChecked
207
- 12 => {
208
- #[ cfg( feature = "logging" ) ]
209
- pinocchio:: msg!( "Instruction: TransferChecked" ) ;
210
-
211
- process_transfer_checked ( accounts, instruction_data)
212
- }
213
220
// 13 - ApproveChecked
214
221
13 => {
215
222
#[ cfg( feature = "logging" ) ]
@@ -224,13 +231,6 @@ fn inner_process_remaining_instruction(
224
231
225
232
process_mint_to_checked ( accounts, instruction_data)
226
233
}
227
- // 15 - BurnChecked
228
- 15 => {
229
- #[ cfg( feature = "logging" ) ]
230
- pinocchio:: msg!( "Instruction: BurnChecked" ) ;
231
-
232
- process_burn_checked ( accounts, instruction_data)
233
- }
234
234
// 17 - SyncNative
235
235
17 => {
236
236
#[ cfg( feature = "logging" ) ]
0 commit comments