Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 4756083

Browse files
committed
cleanup
1 parent 366f2bc commit 4756083

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

account-compression/programs/account-compression/src/state/concurrent_merkle_tree_header.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,6 @@ impl ConcurrentMerkleTreeHeader {
9999
}
100100
}
101101

102-
pub fn is_initialized(&self) -> bool {
103-
match self.account_type {
104-
CompressionAccountType::Uninitialized => false,
105-
CompressionAccountType::ConcurrentMerkleTree => {
106-
match &self.header {
107-
ConcurrentMerkleTreeHeaderData::V1(header) => {
108-
header.max_buffer_size != 0 && header.max_depth != 0
109-
}
110-
}
111-
}
112-
}
113-
}
114-
115102
pub fn get_max_depth(&self) -> u32 {
116103
match &self.header {
117104
ConcurrentMerkleTreeHeaderData::V1(header) => header.max_depth,

0 commit comments

Comments
 (0)