.owner = X -> .set_owner(X) (#16759)
This commit is contained in:
committed by
GitHub
parent
fb0b76c1f3
commit
04e6aebf35
@ -7403,8 +7403,8 @@ pub mod tests {
|
|||||||
|
|
||||||
// Owner may not be modified
|
// Owner may not be modified
|
||||||
let mut account_modified = account.clone();
|
let mut account_modified = account.clone();
|
||||||
account_modified.owner =
|
account_modified
|
||||||
Pubkey::from_str("My11111111111111111111111111111111111111111").unwrap();
|
.set_owner(Pubkey::from_str("My11111111111111111111111111111111111111111").unwrap());
|
||||||
assert_ne!(
|
assert_ne!(
|
||||||
hash,
|
hash,
|
||||||
AccountsDb::hash_frozen_account_data(&account_modified)
|
AccountsDb::hash_frozen_account_data(&account_modified)
|
||||||
|
Reference in New Issue
Block a user