Skip to content

Commit

Permalink
Make pub
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Besancon authored and AurelienFT committed Jun 15, 2023
1 parent c1379f2 commit 9e43bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions massa-db-worker/src/massa_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ pub struct RawMassaDB<
current_hashmap: SharedSmtCache,
}

type SharedSmtCache = Arc<RwLock<HashMap<[u8; 32], Option<Bytes>>>>;
pub type SharedSmtCache = Arc<RwLock<HashMap<[u8; 32], Option<Bytes>>>>;

/// Wrapper for the Lsm-tree database type
struct MassaDbLsmtree {
pub struct MassaDbLsmtree {
pub cf: &'static str,
pub db: Arc<DB>,
pub current_batch: Arc<Mutex<WriteBatch>>,
Expand Down

0 comments on commit 9e43bbe

Please sign in to comment.