iotaledger / iota-sdk

The IOTA SDK provides developers with a seamless experience to develop on IOTA by providing account abstractions and clients to interact with node APIs.
Apache License 2.0
54 stars 39 forks source link

Update getCommittee epoch query parameter #2179

Closed Thoralf-M closed 3 months ago

Thoralf-M commented 3 months ago

Description of change

Change it from epochIndex to epoch

Type of change

How the change has been tested

    let committee_response = client.get_committee(None).await?;
    let committee_response2 = client.get_committee(committee_response.epoch - 1).await?;