make AccountSharedData.data private to abstract storage (#16091)

* format

* 2 more tests

* use
This commit is contained in:
Jeff Washington (jwash)
2021-03-25 11:04:20 -05:00
committed by GitHub
parent 43a116a84e
commit 66c42f62d8
5 changed files with 13 additions and 9 deletions

View File

@ -32,7 +32,7 @@ pub struct AccountSharedData {
/// lamports in the account
pub lamports: u64,
/// data held in this account
pub data: Arc<Vec<u8>>,
data: Arc<Vec<u8>>,
/// the program that owns this account. If executable, the program that loads this account.
pub owner: Pubkey,
/// this account's data contains a loaded program (and is now read-only)