aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/json.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-01-28 23:11:24 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-01-28 23:11:24 +0800
commit528dcc3814aa1ee5bfcf3812aa4085f45a6623c4 (patch)
tree89ee7b6627e61ab6af52f32abef5595ce34b926b /rpc/json.go
parentae1a137ce7daa885938e010dccd8436f8570329f (diff)
parent3750d835a1697f6784c727074cc959dda33cdcf3 (diff)
downloadgo-tangerine-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar
go-tangerine-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.gz
go-tangerine-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.bz2
go-tangerine-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.lz
go-tangerine-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.xz
go-tangerine-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.zst
go-tangerine-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.zip
Merge pull request #2151 from fjl/debug-api
internal/debug: APIs for profiling and tracing
Diffstat (limited to 'rpc/json.go')
-rw-r--r--rpc/json.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/json.go b/rpc/json.go
index 8bdb4665d..02bc71c26 100644
--- a/rpc/json.go
+++ b/rpc/json.go
@@ -48,7 +48,7 @@ type JSONRequest struct {
type JSONSuccessResponse struct {
Version string `json:"jsonrpc"`
Id int64 `json:"id"`
- Result interface{} `json:"result,omitempty"`
+ Result interface{} `json:"result"`
}
// JSON-RPC error object