fix test compilation from add_static_program change (#9755)

This commit is contained in:
sakridge 2020-04-27 23:37:08 -07:00 committed by GitHub
parent efad193180
commit aac580686f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5836,7 +5836,7 @@ mod tests {
Ok(())
}
bank.add_instruction_processor(solana_vote_program::id(), mock_vote_processor);
bank.add_static_program("mock_vote", solana_vote_program::id(), mock_vote_processor);
let result = bank.process_transaction(&tx);
assert_eq!(result, Ok(()));
let account = bank.get_account(&solana_vote_program::id()).unwrap();