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 {