owner -> owner() (#16785)

This commit is contained in:
Jeff Washington (jwash)
2021-04-23 15:59:13 -05:00
committed by GitHub
parent 1500011fc6
commit 1a4a7059af
4 changed files with 8 additions and 5 deletions

View File

@ -408,7 +408,7 @@ mod test {
&MockInvokeContext::new(vec![]),
)
.unwrap();
let pubkey = nonce_account.account.borrow().owner;
let pubkey = *nonce_account.account.borrow().owner();
let nonce_account = KeyedAccount::new(&pubkey, false, nonce_account.account);
let state = AccountUtilsState::<Versions>::state(&nonce_account)
.unwrap()