fix test compilation from add_static_program change (#9755)
This commit is contained in:
parent
efad193180
commit
aac580686f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue