aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-22 17:26:27 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-22 17:26:27 +0100
commit900b2d6fd921554735c5a86a8aae874973bc29d4 (patch)
tree24da6028ba22e3991ef01f4ba3a9fd6028fee349
parent26158fc72505be6323282dc39509fd531c10a290 (diff)
-use correct idx
-rw-r--r--src/lib/exchange_api_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exchange_api_link.c b/src/lib/exchange_api_link.c
index ac3fecdde..130ec10d1 100644
--- a/src/lib/exchange_api_link.c
+++ b/src/lib/exchange_api_link.c
@@ -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,