Fix tracing macro syntax

This commit is contained in:
teor 2021-02-16 17:24:02 +10:00 committed by Deirdre Connolly
parent 253d1c02b3
commit 972103d797
1 changed files with 2 additions and 2 deletions

View File

@ -351,7 +351,7 @@ where
})
.map_err(|e| eyre!(e))?;
tracing::info!(?tip = block_locator.first().unwrap(), "trying to obtain new chain tips");
tracing::info!(tip = ?block_locator.first().unwrap(), "trying to obtain new chain tips");
tracing::debug!(?block_locator, "got block locator");
let mut requests = FuturesUnordered::new();
@ -466,7 +466,7 @@ where
let tips = std::mem::take(&mut self.prospective_tips);
let mut download_set = HashSet::new();
tracing::info!(?tips = tips.len(), "trying to extend chain tips");
tracing::info!(tips = ?tips.len(), "trying to extend chain tips");
for tip in tips {
tracing::debug!(?tip, "asking peers to extend chain tip");
let mut responses = FuturesUnordered::new();