Fix proposer factory prometheus registration (#1862)

The proposer wasn't registered in prometheus and thus, we could not see
its metrics.
This commit is contained in:
Bastian Köcher
2020-10-27 21:55:12 +01:00
committed by GitHub
parent ac1f19c68c
commit 1a3780aa79
4 changed files with 6 additions and 1 deletions
+1
View File
@@ -460,6 +460,7 @@ pub fn new_full<RuntimeApi, Executor>(
client.clone(),
transaction_pool,
overseer_handler.clone(),
prometheus_registry.as_ref(),
);
let babe_config = babe::BabeParams {