Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Implement api_get_tips #21

Merged
merged 3 commits into from
Dec 21, 2018
Merged

Implement api_get_tips #21

merged 3 commits into from
Dec 21, 2018

Conversation

jkrvivian
Copy link
Member

Close #7

ta_get_tips_req_t* req = ta_get_tips_req_new();
ta_get_tips_res_t* res = ta_get_tips_res_new();

ret = ta_get_tips_req_deserialize(obj, req);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have to validate req and/or res in advance?


ret = ta_get_tips_res_serialize(&json_result, res);
if (ret) {
goto done;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goto is not necessary here.

@jserv jserv merged commit 30f23ca into DLTcollab:master Dec 21, 2018
@jkrvivian jkrvivian deleted the api_get_tips branch December 22, 2018 05:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants