Programs were not spawned by SystemProgram (#1533)
* SystemProgram spawns programs
This commit is contained in:
@ -114,13 +114,7 @@ pub extern "C" fn process(keyed_accounts: &mut [KeyedAccount], tx_data: &[u8]) -
|
||||
|
||||
LoaderInstruction::Finalize => {
|
||||
keyed_accounts[0].account.executable = true;
|
||||
keyed_accounts[0].account.loader_program_id = keyed_accounts[0].account.program_id;
|
||||
keyed_accounts[0].account.program_id = *keyed_accounts[0].key;
|
||||
trace!(
|
||||
"LuaLoader::Finalize prog: {:?} loader {:?}",
|
||||
keyed_accounts[0].account.program_id,
|
||||
keyed_accounts[0].account.loader_program_id
|
||||
);
|
||||
trace!("LuaLoader::Finalize prog: {:?}", keyed_accounts[0].key);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user