Merge pull request #800 from ethcore/fixjsonrpc
Increase threads to num_cpus & fix author reporting
This commit is contained in:
@@ -232,8 +232,8 @@ impl<C, S, A, M, EM> Eth for EthClient<C, S, A, M, EM>
|
||||
// TODO: do not hardcode author.
|
||||
fn author(&self, params: Params) -> Result<Value, Error> {
|
||||
match params {
|
||||
Params::None => to_value(&Address::new()),
|
||||
_ => Err(Error::invalid_params())
|
||||
Params::None => to_value(&take_weak!(self.miner).author()),
|
||||
_ => Err(Error::invalid_params()),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user