From 9ec5ba46f3cae2a31ea7752eb4b7dfafc263bb31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= Date: Tue, 29 Oct 2019 20:07:11 +0000 Subject: [PATCH] cli: fix display_role helper (#3961) --- substrate/core/cli/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/core/cli/src/lib.rs b/substrate/core/cli/src/lib.rs index a22797861b..adf0a57aaf 100644 --- a/substrate/core/cli/src/lib.rs +++ b/substrate/core/cli/src/lib.rs @@ -239,7 +239,7 @@ where /// Returns a string displaying the node role, special casing the sentry mode /// (returning `SENTRY`), since the node technically has an `AUTHORITY` role but /// doesn't participate. -pub fn display_role(config: &Configuration<(), A, B>) -> String { +pub fn display_role(config: &Configuration) -> String { if config.sentry_mode { "SENTRY".to_string() } else {