Skip to content

Commit

Permalink
remove unwanted code
Browse files Browse the repository at this point in the history
Signed-off-by: Brindrajsinh-Chauhan <brindrajsinh@gmail.com>
  • Loading branch information
Brindrajsinh-Chauhan committed Feb 20, 2024
1 parent a43c0f9 commit b493dca
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@
public class MiningParametersMetrics {
public static final String MIN_GAS_PRICE_GAUGE = "min_gas_price";
public static final String MIN_PRIORITY_FEE_GAUGE = "min_priority_fee";
private final MetricsSystem metricsSystem;

public MiningParametersMetrics(
final MetricsSystem metricsSystem, final MiningParameters miningParameters) {
this.metricsSystem = metricsSystem;

metricsSystem.createGauge(
BesuMetricCategory.ETHEREUM,
Expand All @@ -38,8 +36,4 @@ public MiningParametersMetrics(
"Gauge to measure the runtime value of min-priority-fee",
() -> miningParameters.getMinPriorityFeePerGas().toBigInteger().doubleValue());
}

public MetricsSystem getMetricsSystem() {
return metricsSystem;
}
}

0 comments on commit b493dca

Please sign in to comment.