Skip to content

Commit

Permalink
removed unnecessary tokio dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar-Pepper committed Feb 28, 2024
1 parent 03b4b5a commit 94d5f5e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions zcash_client_backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ percent-encoding.workspace = true
crossbeam-channel.workspace = true
rayon.workspace = true

# - Runtime
tokio = { version = "1.21.0", features = ["rt"] }

[build-dependencies]
tonic-build.workspace = true
which = "4"
Expand Down
2 changes: 1 addition & 1 deletion zcash_client_backend/src/data_api/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ pub trait BlockCache: BlockSource + Send + Sync {
/// Mark a range of blocks as scanned for cache removal.
fn mark_as_scanned(&self, range: &ScanRange) -> Result<(), Self::Error>;

/// Deletes all blocks marked as scanned from the block cache.
/// Deletes all blocks currently marked as scanned from the block cache.
/// Returns a `Future` for async implementations.
fn delete_scanned(&self) -> impl Future<Output = Result<(), Self::Error>>;
}
Expand Down

0 comments on commit 94d5f5e

Please sign in to comment.