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

Implement api_get_tips_pair #45

Merged
merged 2 commits into from
Jan 13, 2019
Merged

Implement api_get_tips_pair #45

merged 2 commits into from
Jan 13, 2019

Conversation

wusyong
Copy link

@wusyong wusyong commented Jan 13, 2019

No description provided.

@@ -7,7 +7,7 @@ int cclient_get_txn_to_approve(const iota_client_service_t* const service,
get_transactions_to_approve_req_new();
get_transactions_to_approve_res_t* get_txn_res =
get_transactions_to_approve_res_new();
get_txn_req->depth = 15;
get_transactions_to_approve_req_set_depth(get_txn_req, 3);
Copy link
Member

Choose a reason for hiding this comment

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

How the depth is determined?

Copy link
Author

Choose a reason for hiding this comment

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

Max is 15, min is 3. Usually it's fine to set depth to minimum, but default docs would show 15 intentionally.

Copy link
Member

Choose a reason for hiding this comment

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

Insert the relevant code comment(s) about depth.

@jserv jserv merged commit e833a61 into DLTcollab:master Jan 13, 2019
@wusyong wusyong deleted the core_api branch January 14, 2019 03:29
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.

2 participants