-use correct idx

This commit is contained in:
Christian Grothoff 2022-02-22 17:28:44 +01:00
parent 900b2d6fd9
commit fbdc1996a6
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -81,7 +81,6 @@ struct TALER_EXCHANGE_LinkHandle
* *
* @param lh link handle * @param lh link handle
* @param json json reply with the data for one coin * @param json json reply with the data for one coin
* @param coin_num number of the coin
* @param trans_pub our transfer public key * @param trans_pub our transfer public key
* @param[out] lci where to return coin details * @param[out] lci where to return coin details
* @return #GNUNET_OK on success, #GNUNET_SYSERR on error * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
@ -89,7 +88,6 @@ struct TALER_EXCHANGE_LinkHandle
static enum GNUNET_GenericReturnValue static enum GNUNET_GenericReturnValue
parse_link_coin (const struct TALER_EXCHANGE_LinkHandle *lh, parse_link_coin (const struct TALER_EXCHANGE_LinkHandle *lh,
const json_t *json, const json_t *json,
uint32_t coin_num,
const struct TALER_TransferPublicKeyP *trans_pub, const struct TALER_TransferPublicKeyP *trans_pub,
struct TALER_EXCHANGE_LinkedCoinInfo *lci) struct TALER_EXCHANGE_LinkedCoinInfo *lci)
{ {
@ -349,7 +347,6 @@ parse_link_ok (struct TALER_EXCHANGE_LinkHandle *lh,
parse_link_coin (lh, parse_link_coin (lh,
json_array_get (jsona, json_array_get (jsona,
i), i),
i,
&trans_pub, &trans_pub,
lci)) lci))
{ {