[TieredStorage] Make AccountMetaFlags::new_from pub (#32194)
#### Summary of Changes The newly introduced AccountMetaFlags::new_from must be pub in order to make the tiered storage writer able to use it.
This commit is contained in:
parent
24ffc113bb
commit
c56d0bc6a6
|
@ -23,7 +23,7 @@ pub struct AccountMetaFlags {
|
|||
}
|
||||
|
||||
impl AccountMetaFlags {
|
||||
fn new_from(optional_fields: &AccountMetaOptionalFields) -> Self {
|
||||
pub fn new_from(optional_fields: &AccountMetaOptionalFields) -> Self {
|
||||
let mut flags = AccountMetaFlags::default();
|
||||
flags.set_has_rent_epoch(optional_fields.rent_epoch.is_some());
|
||||
flags.set_has_account_hash(optional_fields.account_hash.is_some());
|
||||
|
|
Loading…
Reference in New Issue