owner -> owner() (#16782)

This commit is contained in:
Jeff Washington (jwash)
2021-04-23 17:49:47 -05:00
committed by GitHub
parent 1a4a7059af
commit ca14c18998
9 changed files with 23 additions and 23 deletions

View File

@@ -358,7 +358,7 @@ impl Accounts {
}
// Add loader to chain
let program_owner = program.owner;
let program_owner = *program.owner();
if bpf_loader_upgradeable::check_id(&program_owner) {
// The upgradeable loader requires the derived ProgramData account