owner -> owner() (#16783)
This commit is contained in:
committed by
GitHub
parent
aeff911c93
commit
f2ab0384e4
@@ -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",
|
||||
|
Reference in New Issue
Block a user