Skip to content

Commit

Permalink
Revert "Add debug guard to catch invalid params (solana-labs#20603)"
Browse files Browse the repository at this point in the history
This reverts commit 0c02399.
  • Loading branch information
frits-metalogix authored Nov 24, 2021
1 parent 50e51e0 commit c5c93ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions runtime/src/message_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,6 @@ impl MessageProcessor {
&fee_calculator,
);
let compute_meter = invoke_context.get_compute_meter();

debug_assert_eq!(program_indices.len(), message.instructions.len());
for (instruction_index, (instruction, program_indices)) in message
.instructions
.iter()
Expand Down

0 comments on commit c5c93ad

Please sign in to comment.