add test cfg attribute (#24154)
This commit is contained in:
parent
206c3dd402
commit
42c094739d
|
@ -455,6 +455,8 @@ impl AppendVec {
|
|||
next,
|
||||
))
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub fn get_account_test(&self, offset: usize) -> Option<(StoredMeta, AccountSharedData)> {
|
||||
let (stored_account, _) = self.get_account(offset)?;
|
||||
let meta = stored_account.meta.clone();
|
||||
|
|
Loading…
Reference in New Issue