Skip to content

Commit

Permalink
fix: revert patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Jul 20, 2021
1 parent 70c312c commit f3cfccc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/burnchains/burnchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1349,14 +1349,14 @@ impl Burnchain {
}

if is_mainnet {
if block_height == STACKS_2_0_LAST_BLOCK_TO_PROCESS {
if last_processed.block_height == STACKS_2_0_LAST_BLOCK_TO_PROCESS {
info!("Reached Stacks 2.0 last block to processed, ignoring subsequent burn blocks";
"block_height" => block_height);
"block_height" => last_processed.block_height);
continue;
} else if block_height > STACKS_2_0_LAST_BLOCK_TO_PROCESS {
} else if last_processed.block_height > STACKS_2_0_LAST_BLOCK_TO_PROCESS {
debug!("Reached Stacks 2.0 last block to processed, ignoring subsequent burn blocks";
"last_block" => STACKS_2_0_LAST_BLOCK_TO_PROCESS,
"block_height" => block_height);
"block_height" => last_processed.block_height);
continue;
}
}
Expand Down

0 comments on commit f3cfccc

Please sign in to comment.