Fix native version text on startup (#5618)

* Native version text was borked.

* Unfix benchmarking.
This commit is contained in:
Gavin Wood
2020-04-13 19:06:48 +02:00
committed by GitHub
parent 1e1b066817
commit a5da816e89
6 changed files with 20 additions and 5 deletions
+5 -1
View File
@@ -72,7 +72,11 @@ pub fn run() -> Result<()> {
match &cli.subcommand {
None => {
let runner = cli.create_runner(&cli.run)?;
runner.run_node(service::new_light, service::new_full)
runner.run_node(
service::new_light,
service::new_full,
node_runtime::VERSION
)
}
Some(Subcommand::Inspect(cmd)) => {
let runner = cli.create_runner(cmd)?;