AccountSharedData.set_data (#15781)

* account.set_data and resize_data

* remove data_resize
This commit is contained in:
Jeff Washington (jwash)
2021-03-11 16:40:45 -06:00
committed by GitHub
parent e1ceb430e3
commit 3419a5446e
9 changed files with 43 additions and 25 deletions

View File

@@ -432,7 +432,7 @@ pub mod tests {
assert!(vote_accounts.get(&vote_pubkey).is_none());
}
vote_account.data = cache_data;
vote_account.set_data(cache_data);
stakes.store(&vote_pubkey, &vote_account, true, true);
{