From b2e38d74bdef48d0a41cf50c6bd7d55c715b13f9 Mon Sep 17 00:00:00 2001 From: Tomasz Polaczyk Date: Wed, 21 Feb 2024 16:24:33 +0100 Subject: [PATCH] Revert "ProposerFactory add method to set metrics" This reverts commit fb10844253b3cccb7543a1c447ec2f3249a0f151. --- substrate/client/basic-authorship/src/basic_authorship.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/substrate/client/basic-authorship/src/basic_authorship.rs b/substrate/client/basic-authorship/src/basic_authorship.rs index 5449177243f4..fdc3d4918de3 100644 --- a/substrate/client/basic-authorship/src/basic_authorship.rs +++ b/substrate/client/basic-authorship/src/basic_authorship.rs @@ -189,11 +189,6 @@ impl ProposerFactory { pub fn set_soft_deadline(&mut self, percent: Percent) { self.soft_deadline_percent = percent; } - - /// Set metrics. - pub fn set_metrics(&mut self, metrics: PrometheusMetrics) { - self.metrics = metrics; - } } impl ProposerFactory