mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-13 18:31:35 +00:00
Several RPC parameter validation errors were returning the default
error code -32000 (generic server error) instead of -32602 (invalid
params) as specified by the JSON-RPC 2.0 specification.
This change wraps parameter validation errors in invalidParamsError
so that clients receive the correct -32602 error code, consistent
with the fix in
|
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| filter.go | ||
| filter_system.go | ||
| filter_system_test.go | ||
| filter_test.go | ||