Skip to content

Commit

Permalink
chore: remove unused flush function (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhani-cw authored Jun 25, 2024
1 parent 7ab6f85 commit 161e710
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/eth/storage/inmemory/inmemory_temporary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,6 @@ impl TemporaryStorage for InMemoryTemporaryStorage {
state.head.reset();
Ok(())
}

fn flush(&self) -> anyhow::Result<()> {
Ok(())
}
}

// -----------------------------------------------------------------------------
Expand Down
3 changes: 0 additions & 3 deletions src/eth/storage/temporary_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,4 @@ pub trait TemporaryStorage: Send + Sync + 'static {

/// Resets to default empty state.
fn reset(&self) -> anyhow::Result<()>;

/// If necessary, flushes temporary state to durable storage.
fn flush(&self) -> anyhow::Result<()>;
}

0 comments on commit 161e710

Please sign in to comment.