fix: build error

This commit is contained in:
Ludo Galabru
2023-06-08 22:19:29 -04:00
parent 322f47343c
commit 879ed6775a

View File

@@ -878,11 +878,11 @@ async fn handle_command(opts: Opts, ctx: Context) -> Result<(), String> {
if let Some(tip) = get_last_block_height_inserted(&stacks_db, &ctx) {
for index in 1..=tip {
let block_identifier = BlockIdentifier {
index: i,
index,
hash: "".into(),
};
if !is_stacks_block_present(&block_identifier, 3, &stacks_db) {
missing_blocks.push(i);
missing_blocks.push(index);
}
}
}