Skip to content

Commit 879ed67

Browse files
author
Ludo Galabru
committed
fix: build error
1 parent 322f473 commit 879ed67

File tree

1 file changed

+2
-2
lines changed
  • components/chainhook-cli/src/cli

1 file changed

+2
-2
lines changed

components/chainhook-cli/src/cli/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -878,11 +878,11 @@ async fn handle_command(opts: Opts, ctx: Context) -> Result<(), String> {
878878
if let Some(tip) = get_last_block_height_inserted(&stacks_db, &ctx) {
879879
for index in 1..=tip {
880880
let block_identifier = BlockIdentifier {
881-
index: i,
881+
index,
882882
hash: "".into(),
883883
};
884884
if !is_stacks_block_present(&block_identifier, 3, &stacks_db) {
885-
missing_blocks.push(i);
885+
missing_blocks.push(index);
886886
}
887887
}
888888
}

0 commit comments

Comments
 (0)