Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit a6d627d

Browse files
committed
lint
1 parent 723f293 commit a6d627d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: aggregator/src/tests/mock_chunk/config.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ impl MockChunkCircuitConfig {
169169
}
170170
}
171171
// chain id
172-
for i in 0..CHAIN_ID_LEN {
173-
layouter.constrain_instance(hash_input_cells[i].cell(), self.hash_digest_column, i)?;
172+
for (i, cell) in hash_input_cells.iter().enumerate().take(CHAIN_ID_LEN) {
173+
layouter.constrain_instance(cell.cell(), self.hash_digest_column, i)?;
174174
}
175175

176176
Ok(hash_output_cells)

0 commit comments

Comments
 (0)