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