Skip to content

Commit

Permalink
Small nits
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed Mar 13, 2024
1 parent 551baf6 commit f909992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions crates/services/importer/src/importer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ where
let mut guard = self
.database
.try_lock()
.expect("Semaphore prevents from multiple access to teh database");
.expect("Semaphore prevents concurrent access to the database");
let database = guard.deref_mut();

self._commit_result(result, database)
Expand Down Expand Up @@ -464,7 +464,7 @@ where
let mut guard = self
.database
.try_lock()
.expect("Semaphore prevents from multiple access to teh database");
.expect("Semaphore prevents concurrent access to the database");
let database = guard.deref_mut();
let commit_result = self._commit_result(result, database);
let commit_time = start.elapsed().as_secs_f64();
Expand Down
8 changes: 0 additions & 8 deletions crates/storage/src/column.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,6 @@ pub enum Column {

/// Table for genesis state import progress tracking.
GenesisMetadata = 19,
/// Table for coin roots during genesis state import.
GenesisCoinRoots = 20,
/// Table for message roots during genesis state import.
GenesisMessageRoots = 21,
/// Table for contract roots during genesis state import.
GenesisContractRoots = 22,
/// Table for contract ids during genesis state import.
GenesisContractIds = 23,
}

impl Column {
Expand Down

0 comments on commit f909992

Please sign in to comment.