Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jan 7, 2025
1 parent daf96e1 commit c96105e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/simulator/src/acvm/acvm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export async function acvm(
} else if (result instanceof Array && !result.every(item => typeof item === 'string')) {
// We are dealing with a nested array which means that we do not need it wrap it in another array as to have
// the nested array structure it is already "wrapped".
return result as ForeignCallOutput[];
return result;
} else {
return [result] as ForeignCallOutput[];
}
Expand Down

0 comments on commit c96105e

Please sign in to comment.