mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-30 20:46:33 -05:00
Add span to bitcoin wallet logs
This commit is contained in:
parent
f9dcac07fd
commit
692b2ec20d
1 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ use std::path::Path;
|
|||
use std::sync::Arc;
|
||||
use std::time::{Duration, Instant};
|
||||
use tokio::sync::{watch, Mutex};
|
||||
use tracing::{Instrument, Span};
|
||||
use tracing::{debug_span, Instrument};
|
||||
|
||||
const SLED_TREE_NAME: &str = "default_tree";
|
||||
|
||||
|
|
@ -193,7 +193,7 @@ impl Wallet {
|
|||
|
||||
tokio::time::sleep(Duration::from_secs(5)).await;
|
||||
}
|
||||
}.instrument(Span::none()));
|
||||
}.instrument(debug_span!("BitcoinWalletSubscription")));
|
||||
|
||||
Subscription {
|
||||
receiver,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue