owner -> owner() (#16783)

This commit is contained in:
Jeff Washington (jwash)
2021-04-26 12:06:40 -05:00
committed by GitHub
parent aeff911c93
commit f2ab0384e4
10 changed files with 30 additions and 30 deletions

View File

@@ -79,7 +79,7 @@ fn allocate(
// if it looks like the `to` account is already in use, bail
// (note that the id check is also enforced by message_processor)
if !account.data().is_empty() || !system_program::check_id(&account.owner) {
if !account.data().is_empty() || !system_program::check_id(&account.owner()) {
ic_msg!(
invoke_context,
"Allocate: account {:?} already in use",