mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: fix unused import in net fetcher (#13474)
This commit is contained in:
@ -61,7 +61,7 @@ use std::{
|
||||
time::Duration,
|
||||
};
|
||||
use tokio::sync::{mpsc::error::TrySendError, oneshot, oneshot::error::RecvError};
|
||||
use tracing::{debug, trace};
|
||||
use tracing::trace;
|
||||
use validation::FilterOutcome;
|
||||
|
||||
/// The type responsible for fetching missing transactions from peers.
|
||||
@ -626,7 +626,7 @@ impl<N: NetworkPrimitives> TransactionFetcher<N> {
|
||||
{
|
||||
for hash in &new_announced_hashes {
|
||||
if self.hashes_pending_fetch.contains(hash) {
|
||||
debug!(target: "net::tx", "`{}` should have been taken out of buffer before packing in a request, breaks invariant `@hashes_pending_fetch` and `@inflight_requests`, `@hashes_fetch_inflight_and_pending_fetch` for `{}`: {:?}",
|
||||
tracing::debug!(target: "net::tx", "`{}` should have been taken out of buffer before packing in a request, breaks invariant `@hashes_pending_fetch` and `@inflight_requests`, `@hashes_fetch_inflight_and_pending_fetch` for `{}`: {:?}",
|
||||
format!("{:?}", new_announced_hashes), // Assuming new_announced_hashes can be debug-printed directly
|
||||
format!("{:?}", new_announced_hashes),
|
||||
new_announced_hashes.iter().map(|hash| {
|
||||
|
||||
Reference in New Issue
Block a user