Cleanup stragglers from move-to-transfer rename (#3947)

This commit is contained in:
Greg Fitzgerald
2019-04-23 13:30:42 -06:00
committed by GitHub
parent 7372ec9e1a
commit 29698fcd38
9 changed files with 39 additions and 35 deletions

View File

@ -202,8 +202,8 @@ mod tests {
// Sneak in an instruction so that the transaction is signed but
// the 0th account in the second instruction is not! The program
// needs to check that it's signed.
let move_ix = system_instruction::transfer(&mallory_id, &vote_id, 1);
let message = Message::new(vec![move_ix, vote_ix]);
let transfer_ix = system_instruction::transfer(&mallory_id, &vote_id, 1);
let message = Message::new(vec![transfer_ix, vote_ix]);
let result = bank_client.send_message(&[&mallory_keypair], message);
// And ensure there's no vote.