Skip to content

Commit

Permalink
have response with error
Browse files Browse the repository at this point in the history
  • Loading branch information
CreatureDev committed Feb 19, 2024
1 parent 57b9748 commit b6876c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/jsonrpc/jsonrpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (c *JsonRpcClient) SendRequest(reqParams client.XRPLRequest) (client.XRPLRe
var jr jsonrpcmodels.JsonRpcResponse
jr, err = CheckForError(response)
if err != nil {
return nil, err
return &jr, err
}

return &jr, nil
Expand Down

0 comments on commit b6876c2

Please sign in to comment.