From d59e7e373341b556270d53614ad9c3be95bf7134 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Wed, 3 Feb 2016 12:43:58 -0500 Subject: [PATCH] fix parity version so netstats can parse it --- rpc/src/v1/impls/web3.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/src/v1/impls/web3.rs b/rpc/src/v1/impls/web3.rs index e0c5c98ab..c4f16fe9d 100644 --- a/rpc/src/v1/impls/web3.rs +++ b/rpc/src/v1/impls/web3.rs @@ -14,7 +14,7 @@ impl Web3Client { impl Web3 for Web3Client { fn client_version(&self, params: Params) -> Result { match params { - Params::None => Ok(Value::String(format!("Parity/{}/{}-{}-{}", env!("CARGO_PKG_VERSION"), Target::arch(), Target::env(), Target::os()))), + Params::None => Ok(Value::String(format!("Parity/-/{}/{}-{}-{}/rust1.8-nightly", env!("CARGO_PKG_VERSION"), Target::arch(), Target::env(), Target::os()))), _ => Err(Error::invalid_params()) } }