Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkucharczyk committed Nov 14, 2024
1 parent 44a0096 commit d69c660
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@
//! it), while on other forks tx can be valid. Depending on which view is chosen to be cloned,
//! such transaction could not be present in the newly created view.
use super::{
dropped_watcher::DroppedTransaction, metrics::MetricsLink as PrometheusMetrics,
multi_view_listener::MultiViewListener,
};
use super::{metrics::MetricsLink as PrometheusMetrics, multi_view_listener::MultiViewListener};
use crate::{
common::log_xt::log_xt_trace,
graph,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async fn batch_revalidate<Api: ChainApi>(

let validation_results = futures::future::join_all(batch.into_iter().filter_map(|ext_hash| {
pool.validated_pool().ready_by_hash(&ext_hash).map(|ext| {
api.validate_transaction(at, ext.source.source.clone(), ext.data.clone())
api.validate_transaction(at, ext.source.source, ext.data.clone())
.map(move |validation_result| (validation_result, ext_hash, ext))
})
}))
Expand Down

0 comments on commit d69c660

Please sign in to comment.