Skip to content
Permalink
Browse files

Log the starting point of bootstrap

Add a debug log statement showing the starting point, which
may be instrumental for debugging.
  • Loading branch information...
mzabaluev committed Aug 13, 2019
1 parent bb19db1 commit 8b24443d7caaaef0f6027d7a1b612b5b691c8658
Showing with 1 addition and 0 deletions.
  1. +1 −0 jormungandr/src/network/bootstrap.rs
@@ -76,6 +76,7 @@ pub fn bootstrap_from_peer(
.join(branch.get_ref().map_err(|_| unreachable!()))
.and_then(|(mut client, tip)| {
let tip_hash = *tip.hash();
debug!(logger, "pulling blocks starting from {}", tip_hash);
client
.pull_blocks_to_tip(&[tip_hash])
.map_err(Error::PullRequestFailed)

0 comments on commit 8b24443

Please sign in to comment.
You can’t perform that action at this time.