Skip to content

Commit

Permalink
remove "omitempty" attribute from JSONRpcResp.Error reported by @aemet93
Browse files Browse the repository at this point in the history
, fixed by @Ingham27
  • Loading branch information
hackmod committed Feb 23, 2019
1 parent 185febe commit 62392c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type JSONRpcResp struct {
Id json.RawMessage `json:"id"`
Version string `json:"jsonrpc,omitempty"`
Result interface{} `json:"result"`
Error interface{} `json:"error,omitempty"`
Error interface{} `json:"error"`
}

type SubmitReply struct {
Expand Down

0 comments on commit 62392c6

Please sign in to comment.