File tree Expand file tree Collapse file tree 4 files changed +1
-9
lines changed
account-decoder-client-types/src Expand file tree Collapse file tree 4 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ pub struct UiAccount {
2020 pub data : UiAccountData ,
2121 pub owner : String ,
2222 pub executable : bool ,
23- pub rent_epoch : u64 ,
2423 pub space : Option < u64 > ,
2524}
2625
@@ -78,7 +77,7 @@ impl UiAccount {
7877 data,
7978 Pubkey :: from_str ( & self . owner ) . ok ( ) ?,
8079 self . executable ,
81- self . rent_epoch ,
80+ u64 :: MAX ,
8281 ) )
8382 }
8483}
Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ pub fn encode_ui_account<T: ReadableAccount>(
9696 data,
9797 owner : account. owner ( ) . to_string ( ) ,
9898 executable : account. executable ( ) ,
99- rent_epoch : account. rent_epoch ( ) ,
10099 space : Some ( space as u64 ) ,
101100 }
102101}
Original file line number Diff line number Diff line change @@ -236,11 +236,6 @@ impl fmt::Display for CliAccount {
236236 "Executable:" ,
237237 & self . keyed_account . account . executable . to_string ( ) ,
238238 ) ?;
239- writeln_name_value (
240- f,
241- "Rent Epoch:" ,
242- & self . keyed_account . account . rent_epoch . to_string ( ) ,
243- ) ?;
244239 Ok ( ( ) )
245240 }
246241}
Original file line number Diff line number Diff line change @@ -502,7 +502,6 @@ pub(crate) fn mock_encoded_account(pubkey: &Pubkey) -> UiAccount {
502502 data : UiAccountData :: Binary ( "" . to_string ( ) , UiAccountEncoding :: Base64 ) ,
503503 owner : pubkey. to_string ( ) ,
504504 executable : false ,
505- rent_epoch : 0 ,
506505 space : Some ( 0 ) ,
507506 }
508507}
You can’t perform that action at this time.
0 commit comments