-use correct idx

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

View File

@ -136,7 +136,7 @@ parse_link_coin (const struct TALER_EXCHANGE_LinkHandle *lh,
&lh->coin_priv,
&secret);
TALER_transfer_secret_to_planchet_secret (&secret,
coin_num,
coin_idx,
&lci->ps);
TALER_planchet_setup_coin_priv (&lci->ps,
&alg_values,