From f9b50702afb37fb42bf61c09549d819c36cf6201 Mon Sep 17 00:00:00 2001 From: Syrus Date: Fri, 4 Dec 2020 00:36:24 -0800 Subject: [PATCH] Make remaining_points_index private again --- lib/middlewares/src/metering.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.