Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #332 from ethcore/fixed_v
Browse files Browse the repository at this point in the history
fix parity version so netstats can parse it
  • Loading branch information
Gav Wood committed Feb 3, 2016
2 parents 755b081 + d59e7e3 commit 99a63d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/src/v1/impls/web3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ impl Web3Client {
impl Web3 for Web3Client {
fn client_version(&self, params: Params) -> Result<Value, Error> {
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())
}
}
Expand Down

0 comments on commit 99a63d0

Please sign in to comment.