JSON-RPC empty error parameter not omitted in encoding (#728)
Bas van Beek
5 years ago
57 | 57 |
type Response struct {
|
58 | 58 |
JSONRPC string `json:"jsonrpc"`
|
59 | 59 |
Result json.RawMessage `json:"result,omitempty"`
|
60 | |
Error *Error `json:"error,omitemty"`
|
|
60 |
Error *Error `json:"error,omitempty"`
|
61 | 61 |
}
|
62 | 62 |
|
63 | 63 |
const (
|