diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-02-05 17:33:24 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-02-05 17:33:24 +0800 |
commit | ba7c125153ce1be30985784a18edf38645406d03 (patch) | |
tree | 92c1e2b8ec6ef0d4b39381148b3497e311e80b95 /rpc | |
parent | 212828963172b3921827df15abdc8602480e947d (diff) | |
parent | 188ab928c3f2a2eac5ee0f7ac42cbf2f35568bcd (diff) | |
download | go-tangerine-ba7c125153ce1be30985784a18edf38645406d03.tar.gz go-tangerine-ba7c125153ce1be30985784a18edf38645406d03.tar.zst go-tangerine-ba7c125153ce1be30985784a18edf38645406d03.zip |
Merge pull request #2168 from karalabe/move-rpc-into-node
cmd, common, node, rpc: move IPC into the node itself
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/json.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/json.go b/rpc/json.go index 02bc71c26..1ed943c00 100644 --- a/rpc/json.go +++ b/rpc/json.go @@ -41,7 +41,7 @@ type JSONRequest struct { Method string `json:"method"` Version string `json:"jsonrpc"` Id *int64 `json:"id,omitempty"` - Payload json.RawMessage `json:"params"` + Payload json.RawMessage `json:"params,omitempty"` } // JSON-RPC response |