Skip to content
Snippets Groups Projects
Commit a17b173a authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

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.
parent 6766b810
Branches
No related merge requests found
...@@ -432,4 +432,8 @@ impl CliConfiguration<Self> for RelayChainCli { ...@@ -432,4 +432,8 @@ impl CliConfiguration<Self> for RelayChainCli {
) -> Result<Option<sc_telemetry::TelemetryEndpoints>> { ) -> Result<Option<sc_telemetry::TelemetryEndpoints>> {
self.base.base.telemetry_endpoints(chain_spec) self.base.base.telemetry_endpoints(chain_spec)
} }
fn node_name(&self) -> Result<String> {
self.base.base.node_name()
}
} }
...@@ -714,4 +714,8 @@ impl CliConfiguration<Self> for RelayChainCli { ...@@ -714,4 +714,8 @@ impl CliConfiguration<Self> for RelayChainCli {
) -> Result<Option<sc_telemetry::TelemetryEndpoints>> { ) -> Result<Option<sc_telemetry::TelemetryEndpoints>> {
self.base.base.telemetry_endpoints(chain_spec) self.base.base.telemetry_endpoints(chain_spec)
} }
fn node_name(&self) -> Result<String> {
self.base.base.node_name()
}
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment