Remove outdated program verifification (#18592)

This commit is contained in:
Justin Starry
2021-07-12 14:40:49 -05:00
committed by GitHub
parent 35123b71c2
commit bc47ed6c80

View File

@ -1112,7 +1112,6 @@ impl MessageProcessor {
Err(InstructionError::MissingAccount)
};
instruction.visit_each_account(&mut work)?;
work(0, instruction.program_id_index as usize)?;
// Verify that the total sum of all the lamports did not change
if pre_sum != post_sum {