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:
Thomas Eizinger 2021-02-25 11:51:43 +11:00
parent fffa679f42
commit 7d324d966a
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
2 changed files with 1 additions and 2 deletions

View File

@ -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(())
}

View File

@ -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)