-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Return a ChiaRPCError if the request succeeds but the RPC returns an error. Always return the response object even if there's an error in the response since there is still useful information sometimes * Add generic Do() helper to make adding rpc endpoints simpler. Convert full node to use Do() * Refactor remaining services to use the Generic Do helper to reduce boilerplate * Check for err != nil before checking the resp to avoid nil pointer issues * Fix incorrect endpoint
- Loading branch information
1 parent
ba851ab
commit c80025e
Showing
18 changed files
with
249 additions
and
1,039 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.