Fix relay chain node name (#1008)

Before this fix the relay chain node name was always a random generated, because we did not had
implemented all the required methods of the `CliConfiguration` trait.
This commit is contained in:
Bastian Köcher
2022-02-21 11:34:23 +01:00
committed by GitHub
parent 5e80975d1b
commit 53c0ec904f
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -432,4 +432,8 @@ impl CliConfiguration<Self> for RelayChainCli {
) -> Result<Option<sc_telemetry::TelemetryEndpoints>> {
self.base.base.telemetry_endpoints(chain_spec)
}
fn node_name(&self) -> Result<String> {
self.base.base.node_name()
}
}