Merge branch 'master' into nvolf

This commit is contained in:
Nikolay Volf 2016-02-03 22:53:22 +03:00
commit 99a8217bc4

View File

@ -14,7 +14,7 @@ impl Web3Client {
impl Web3 for Web3Client { impl Web3 for Web3Client {
fn client_version(&self, params: Params) -> Result<Value, Error> { fn client_version(&self, params: Params) -> Result<Value, Error> {
match params { 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()) _ => Err(Error::invalid_params())
} }
} }