Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintain compatibility for forwarded RPC responses:
Typically, an RPC response contains a `result` field, which contains details about the operation performed. For ease of parsing, forwarded responses must look like a non-forwarded response. In some instances the response was incorrectly composed, so that the actual `result` object would be encapsulated by an outer `result` object, breaking existing code. This commit, addresses this issue and correctly "folds" the `result` field, ensuring a consistent schema for responses.
- Loading branch information