AccountSharedData construction (#15790)

This commit is contained in:
Jeff Washington (jwash)
2021-03-11 18:09:04 -06:00
committed by GitHub
parent 3419a5446e
commit 952c3bcbb7
21 changed files with 161 additions and 151 deletions

View File

@ -224,10 +224,10 @@ mod test {
fn test_base64_zstd() {
let encoded_account = UiAccount::encode(
&Pubkey::default(),
AccountSharedData {
AccountSharedData::from(Account {
data: vec![0; 1024],
..AccountSharedData::default()
},
..Account::default()
}),
UiAccountEncoding::Base64Zstd,
None,
None,