Rename SystemInstruction::Move to SystemInstruction::Transfer
This commit is contained in:
@ -155,7 +155,8 @@ mod tests {
|
||||
bank.transfer(42, &mint_keypair, &system_pubkey).unwrap();
|
||||
let (bank_client, from_keypair, config_keypair) = create_config_client(&bank, mint_keypair);
|
||||
|
||||
let move_instruction = SystemInstruction::new_move(&system_pubkey, &Pubkey::default(), 42);
|
||||
let move_instruction =
|
||||
SystemInstruction::new_transfer(&system_pubkey, &Pubkey::default(), 42);
|
||||
let my_config = MyConfig::new(42);
|
||||
let mut store_instruction = ConfigInstruction::new_store(
|
||||
&from_keypair.pubkey(),
|
||||
|
@ -148,7 +148,7 @@ 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 = SystemInstruction::new_move(&mallory_id, &vote_id, 1);
|
||||
let move_ix = SystemInstruction::new_transfer(&mallory_id, &vote_id, 1);
|
||||
let message = Message::new(vec![move_ix, vote_ix]);
|
||||
let result = bank_client.process_message(&[&mallory_keypair], message);
|
||||
|
||||
|
Reference in New Issue
Block a user