diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-12 02:22:38 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-12 02:22:38 +0800 |
commit | 1fc3524e40ced2e780f6b90fa4ca7725c839976f (patch) | |
tree | 1d3508d967c9269fd89b0fa2d45313e4c821c170 /rpc/http/server.go | |
parent | df49c609a0fd055a4f0dac89db6863ad5532228f (diff) | |
parent | ebc506dae8a15e5dcce4e4369e21d04e3b8f9aa4 (diff) | |
download | dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar.gz dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar.bz2 dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar.lz dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar.xz dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar.zst dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.zip |
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'rpc/http/server.go')
-rw-r--r-- | rpc/http/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/http/server.go b/rpc/http/server.go index a34400a77..10c8fa813 100644 --- a/rpc/http/server.go +++ b/rpc/http/server.go @@ -102,7 +102,7 @@ func (s *RpcHttpServer) apiHandler(api *rpc.EthereumApi) http.Handler { if reserr != nil { rpchttplogger.Warnln(reserr) jsonerr := &rpc.RpcErrorObject{-32603, reserr.Error()} - JSON.Send(w, &rpc.RpcErrorResponse{JsonRpc: jsonrpcver, ID: &reqParsed.ID, Error: jsonerr}) + JSON.Send(w, &rpc.RpcErrorResponse{JsonRpc: jsonrpcver, ID: reqParsed.ID, Error: jsonerr}) return } |