From a272f8570c9aba7de1f5e889756665386dc832ce Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Fri, 27 May 2016 16:25:06 +0200 Subject: [PATCH] correct indentation --- rpc/src/v1/impls/eth.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rpc/src/v1/impls/eth.rs b/rpc/src/v1/impls/eth.rs index 7b7daeab9..2225cbc61 100644 --- a/rpc/src/v1/impls/eth.rs +++ b/rpc/src/v1/impls/eth.rs @@ -262,9 +262,9 @@ const UNSUPPORTED_REQUEST_CODE: i64 = -32000; fn make_unsupported_err() -> Error { Error { - code: ErrorCode::ServerError(UNSUPPORTED_REQUEST_CODE), - message: "Unsupported request.".into(), - data: None + code: ErrorCode::ServerError(UNSUPPORTED_REQUEST_CODE), + message: "Unsupported request.".into(), + data: None } } @@ -362,8 +362,8 @@ impl Eth for EthClient where .and_then(|(address, position, block_number,)| match block_number { BlockNumber::Pending => to_value(&U256::from(take_weak!(self.miner).storage_at(&*take_weak!(self.client), &address, &H256::from(position)))), id => match take_weak!(self.client).storage_at(&address, &H256::from(position), id.into()) { - Some(s) => to_value(&U256::from(s)), - None => Err(make_unsupported_err()), // None is only returned on unsupported requests. + Some(s) => to_value(&U256::from(s)), + None => Err(make_unsupported_err()), // None is only returned on unsupported requests. } }) }