You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.map_err(|_| format!("Verifying key not found for imported program {}", imported_program_id))?;
143
154
// Get the verifying key for each function.
144
-
foriin0..vk_list.length(){
145
-
let vk = Array::try_from(vk_list.get(i)).map_err(|_| format!("Verifying key and function not found for {}, for each function provide an array of the form ['function_name', 'vk']", imported_program_id))?;
155
+
forvkin vk_list.iter(){
156
+
let vk = Array::try_from(vk).map_err(|_| format!("Verifying key and function not found for {}, for each function provide an array of the form ['function_name', 'vk']", imported_program_id))?;
146
157
{
147
158
// Insert the verifying key into the temporary process.
148
159
let imported_function = IdentifierNative::from_str(
0 commit comments