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 authored and GitHub committed 2022-02-21 11:34:23 +01:00
1 parent 5e80975d1b
commit 53c0ec904f
2 files changed
+8

No files matched your search

+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()
}
}