diff --git a/lib/middlewares/src/metering.rs b/lib/middlewares/src/metering.rs index 6cd0de37c91..335026c20f6 100644 --- a/lib/middlewares/src/metering.rs +++ b/lib/middlewares/src/metering.rs @@ -28,7 +28,7 @@ pub struct Metering u64 + Copy + Clone + Send + Sync> { cost_function: F, /// The global index in the current module for remaining points. - pub remaining_points_index: Mutex>, + remaining_points_index: Mutex>, } /// The function-level metering middleware.