iotaledger / entangled

enTangle'd is an amalgamation of all things Tangle
Apache License 2.0
113 stars 66 forks source link

CClient: update example_node_info. #1458

Closed oopsmonk closed 4 years ago

oopsmonk commented 4 years ago

Updated the example of iota_client_get_node_info, prints out features and the coordinator address on the console.

JakeSCahill commented 4 years ago

When I tested this, I had to replace get_node_info_req_features_num with get_node_info_req_features_len

oopsmonk commented 4 years ago

When I tested this, I had to replace get_node_info_req_features_num with get_node_info_req_features_len

yep, get_node_info_req_features_len is renamed to get_node_info_req_features_num in this PR, so before this PR gets merged, you should use get_node_info_req_features_len in the current repostory.