| 236 | } |
| 237 | |
| 238 | string Eth::eth_getCode(string const& _address, string const& _blockNumber) |
| 239 | { |
| 240 | try |
| 241 | { |
| 242 | return toJS(client()->codeAt(jsToAddress(_address), jsToBlockNumber(_blockNumber))); |
| 243 | } |
| 244 | catch (...) |
| 245 | { |
| 246 | BOOST_THROW_EXCEPTION(JsonRpcException(Errors::ERROR_RPC_INVALID_PARAMS)); |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | void Eth::setTransactionDefaults(TransactionSkeleton& _t) |
| 251 | { |
no test coverage detected