Log each genesis download

This change helps us diagnose sync hangs.
This commit is contained in:
teor 2020-10-28 15:19:30 +10:00 committed by Deirdre Connolly
parent 656bd24ba7
commit 92c623eddf
1 changed files with 1 additions and 0 deletions

View File

@ -528,6 +528,7 @@ where
//
// So we just download and verify the genesis block here.
while !self.state_contains(self.genesis_hash).await? {
tracing::info!("starting genesis block download and verify");
self.downloads
.download_and_verify(self.genesis_hash)
.await