aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/http.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-29 21:03:39 +0800
committerobscuren <geffobscura@gmail.com>2015-03-29 21:03:39 +0800
commite1c6c01b4d598f9b7f7ee31326d25903084fc292 (patch)
tree99d7fa0c5b905df134b0b373316e4a08c17b29c7 /rpc/http.go
parentb7a0bc70313597ada37cc1a348bbd0d39696ec6e (diff)
parent391d79ef44ad2e76754ef8dfb5e9dfbdd5a69acd (diff)
downloadgo-tangerine-e1c6c01b4d598f9b7f7ee31326d25903084fc292.tar
go-tangerine-e1c6c01b4d598f9b7f7ee31326d25903084fc292.tar.gz
go-tangerine-e1c6c01b4d598f9b7f7ee31326d25903084fc292.tar.bz2
go-tangerine-e1c6c01b4d598f9b7f7ee31326d25903084fc292.tar.lz
go-tangerine-e1c6c01b4d598f9b7f7ee31326d25903084fc292.tar.xz
go-tangerine-e1c6c01b4d598f9b7f7ee31326d25903084fc292.tar.zst
go-tangerine-e1c6c01b4d598f9b7f7ee31326d25903084fc292.zip
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'rpc/http.go')
-rw-r--r--rpc/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/http.go b/rpc/http.go
index 879ffce3b..919c567bd 100644
--- a/rpc/http.go
+++ b/rpc/http.go
@@ -76,7 +76,7 @@ func RpcResponse(api *EthereumApi, request *RpcRequest) *interface{} {
case *NotImplementedError:
jsonerr := &RpcErrorObject{-32601, reserr.Error()}
response = &RpcErrorResponse{Jsonrpc: jsonrpcver, Id: request.Id, Error: jsonerr}
- case *DecodeParamError, *InsufficientParamsError, *ValidationError:
+ case *DecodeParamError, *InsufficientParamsError, *ValidationError, *InvalidTypeError:
jsonerr := &RpcErrorObject{-32602, reserr.Error()}
response = &RpcErrorResponse{Jsonrpc: jsonrpcver, Id: request.Id, Error: jsonerr}
default: