Skip to content

Commit a7d9cde

Browse files
committed
fix: debug it
1 parent bca522d commit a7d9cde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tasks/cache/tx.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use reqwest::{Client, Url};
99
use serde::{Deserialize, Serialize};
1010
use std::time::Duration;
1111
use tokio::{sync::mpsc, task::JoinHandle, time};
12-
use tracing::{Instrument, debug, debug_span, info_span, trace};
12+
use tracing::{Instrument, debug, debug_span, trace};
1313

1414
/// Poll interval for the transaction poller in milliseconds.
1515
const POLL_INTERVAL_MS: u64 = 1000;
@@ -63,7 +63,7 @@ impl TxPoller {
6363
// it to the cachetask via the outbound channel.
6464
fn spawn_check_nonce(&self, tx: TxEnvelope, outbound: mpsc::UnboundedSender<TxEnvelope>) {
6565
tokio::spawn(async move {
66-
let span = info_span!("check_nonce", tx_id = %tx.tx_hash());
66+
let span = debug_span!("check_nonce", tx_id = %tx.tx_hash());
6767

6868
let Ok(ru_provider) =
6969
crate::config().connect_ru_provider().instrument(span.clone()).await

0 commit comments

Comments
 (0)