mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-18 11:59:24 +08:00
Merge branch 'fix/graceful-restart' of github.com:blockstack/stacks-blockchain into fix/graceful-restart
This commit is contained in:
@@ -1213,8 +1213,8 @@ impl Burnchain {
|
||||
);
|
||||
|
||||
if let Some(target_block_height) = target_block_height_opt {
|
||||
// target_block_height is used as a hint, but could also be completely off
|
||||
// in certain situations. The current function is directly reading the
|
||||
// `target_block_height` is used as a hint, but could also be completely off
|
||||
// in certain situations. This function is directly reading the
|
||||
// headers and syncing with the bitcoin-node, and the interval of blocks
|
||||
// to download computed here should be considered as our source of truth.
|
||||
if target_block_height > start_block && target_block_height < end_block {
|
||||
|
||||
Reference in New Issue
Block a user