Skip to content

Commit

Permalink
fix: move log
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Jul 16, 2021
1 parent 9742299 commit e611546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/burnchains/burnchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1184,11 +1184,11 @@ impl Burnchain {
None
};

let mut end_block = indexer.sync_headers(sync_height, end_height)?;

// get latest headers.
debug!("Sync headers from {}", sync_height);

let mut end_block = indexer.sync_headers(sync_height, end_height)?;

// fetch all headers, no matter what
let mut start_block = sync_height;
if db_height < start_block {
Expand Down

0 comments on commit e611546

Please sign in to comment.