Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dharjeezy committed Dec 28, 2024
1 parent a85ddb2 commit b203a78
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion substrate/client/transaction-pool/src/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ pub(crate) mod api;
pub(crate) mod enactment_state;
pub(crate) mod error;
pub(crate) mod log_xt;
pub(crate) mod tracing_log_xt;
pub(crate) mod metrics;
#[cfg(test)]
pub(crate) mod tests;
pub(crate) mod tracing_log_xt;

use futures::StreamExt;
use std::sync::Arc;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ macro_rules! log_xt_trace {
}

pub(crate) use log_xt;
pub(crate) use log_xt_trace;
pub(crate) use log_xt_trace;
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ use crate::{
LOG_TARGET,
};
use futures::stream::StreamExt;
use tracing::{debug, trace};
use sc_transaction_pool_api::TransactionStatus;
use sc_utils::mpsc;
use sp_runtime::traits::Block as BlockT;
Expand All @@ -41,6 +40,7 @@ use std::{
pin::Pin,
};
use tokio_stream::StreamMap;
use tracing::{debug, trace};

/// Represents a transaction that was removed from the transaction pool, including the reason of its
/// removal.
Expand Down Expand Up @@ -276,7 +276,7 @@ where
}
} else {
let tx_hash_string = format!("{:?}", tx_hash);
debug!(tx_hash_string, "dropped_watcher: removing (non-tracked) tx" );
debug!(tx_hash_string, "dropped_watcher: removing (non-tracked) tx");
return Some(DroppedTransaction::new_enforced_by_limts(tx_hash))
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ use futures::{
stream::StreamExt,
Future, FutureExt,
};
use tracing::trace;
use parking_lot::RwLock;
use sc_utils::mpsc;
use std::{
Expand All @@ -38,6 +37,7 @@ use std::{
sync::Arc,
};
use tokio_stream::StreamMap;
use tracing::trace;

/// A type alias for a pinned, boxed stream of items of type `I`.
/// This alias is particularly useful for defining the types of the incoming streams from various
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ use crate::{
LOG_TARGET,
};
use futures::StreamExt;
use tracing::{debug, trace};
use sc_transaction_pool_api::{TransactionStatus, TransactionStatusStream, TxIndex};
use sc_utils::mpsc;
use sp_runtime::traits::Block as BlockT;
Expand All @@ -35,6 +34,7 @@ use std::{
pin::Pin,
};
use tokio_stream::StreamMap;
use tracing::{debug, trace};

use super::dropped_watcher::{DroppedReason, DroppedTransaction};

Expand Down

0 comments on commit b203a78

Please sign in to comment.