diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-01-21 03:58:51 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-01-21 03:58:51 +0800 |
commit | 215780ab562b940bfc653c16bf84f812ef062821 (patch) | |
tree | 75235de61659ebba0dde3523e9f54dcc52ca8fa3 /rpc/server.go | |
parent | a6d4ce263012ef160c9a897ac6ba032ddac526c7 (diff) | |
download | go-tangerine-215780ab562b940bfc653c16bf84f812ef062821.tar go-tangerine-215780ab562b940bfc653c16bf84f812ef062821.tar.gz go-tangerine-215780ab562b940bfc653c16bf84f812ef062821.tar.bz2 go-tangerine-215780ab562b940bfc653c16bf84f812ef062821.tar.lz go-tangerine-215780ab562b940bfc653c16bf84f812ef062821.tar.xz go-tangerine-215780ab562b940bfc653c16bf84f812ef062821.tar.zst go-tangerine-215780ab562b940bfc653c16bf84f812ef062821.zip |
Move GetRequestReply to EthereumApi
Off of jsonWrapper
Diffstat (limited to 'rpc/server.go')
-rw-r--r-- | rpc/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/server.go b/rpc/server.go index d14f50f24..a4cf1aa7c 100644 --- a/rpc/server.go +++ b/rpc/server.go @@ -89,7 +89,7 @@ func apiHandler(xeth *EthereumApi) http.Handler { } var response interface{} - reserr := JSON.GetRequestReply(xeth, &reqParsed, &response) + reserr := xeth.GetRequestReply(&reqParsed, &response) if reserr != nil { jsonlogger.Errorln(reserr) JSON.Send(w, &RpcErrorResponse{JsonRpc: reqParsed.JsonRpc, ID: reqParsed.ID, Error: true, ErrorText: reserr.Error()}) |