Boot SystemInstruction::Spawn

This commit is contained in:
Greg Fitzgerald
2019-02-14 12:18:36 -07:00
parent e1e84d4465
commit 4e4a1643c4
7 changed files with 0 additions and 32 deletions

View File

@@ -107,18 +107,6 @@ impl SystemTransaction {
instructions,
)
}
/// Create and sign new SystemInstruction::Spawn transaction
pub fn new_spawn(from_keypair: &Keypair, last_id: Hash, fee: u64) -> Transaction {
let spawn = SystemInstruction::Spawn;
Transaction::new(
from_keypair,
&[],
system_program::id(),
&spawn,
last_id,
fee,
)
}
}
#[cfg(test)]