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".
pull/236/head
Thomas Eizinger 3 years ago
parent fffa679f42
commit 7d324d966a
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

@ -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…
Cancel
Save