mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-11-17 15:26:14 +00:00
Remove syncing
wallet log
BDK already has a log line for the sync that we could enable if we wanted such a log. Additionally, _we_ are not actually syncing the wallet, bdk is so our log line was lying. It should have said "calling bdk to sync wallet".
This commit is contained in:
parent
fffa679f42
commit
7d324d966a
@ -111,7 +111,6 @@ impl Wallet {
|
||||
}
|
||||
|
||||
pub async fn sync_wallet(&self) -> Result<()> {
|
||||
tracing::debug!("syncing wallet");
|
||||
self.inner.lock().await.sync(noop_progress(), None)?;
|
||||
Ok(())
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ pub fn init_tracing(level: LevelFilter) -> Result<()> {
|
||||
let subscriber = FmtSubscriber::builder()
|
||||
.with_env_filter(format!(
|
||||
"swap={},monero_harness={},bitcoin_harness={},http=warn,warp=warn",
|
||||
level, level, level,
|
||||
level, level, level
|
||||
))
|
||||
.with_writer(std::io::stderr)
|
||||
.with_ansi(is_terminal)
|
||||
|
Loading…
Reference in New Issue
Block a user