Skip to content

Commit

Permalink
fix int
Browse files Browse the repository at this point in the history
  • Loading branch information
joanestebanr committed Sep 13, 2024
1 parent ef6658a commit 79769fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synchronizer/batches.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (bs *BatchSynchronizer) handleEvent(
var batchKeys []types.BatchKey
for i, j := 0, len(keys)-1; i < len(keys); i, j = i+1, j-1 {
batchKeys = append(batchKeys, types.BatchKey{
Number: event.NumBatch - uint64(i),
Number: event.NumBatch - uint64(i), //nolint:gosec
Hash: keys[j],
})
}
Expand Down

0 comments on commit 79769fe

Please sign in to comment.