cli: fix display_role helper (#3961)

This commit is contained in:
André Silva
2019-10-29 20:07:11 +00:00
committed by GitHub
parent 6ee284ec5e
commit 9ec5ba46f3
+1 -1
View File
@@ -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<A, B>(config: &Configuration<(), A, B>) -> String {
pub fn display_role<A, B, C>(config: &Configuration<A, B, C>) -> String {
if config.sentry_mode {
"SENTRY".to_string()
} else {