diff options
Diffstat (limited to 'rpc/json.go')
-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 |