Use Account::owner as loader for executable accounts

This commit is contained in:
Greg Fitzgerald
2019-02-14 10:57:54 -07:00
parent 3849b8ece4
commit 4a0009365e
7 changed files with 17 additions and 30 deletions

View File

@ -20,6 +20,5 @@ pub fn create_program_account(name: &str) -> Account {
owner: id(),
userdata: name.as_bytes().to_vec(),
executable: true,
loader: id(),
}
}