diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-08 00:12:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-08 00:12:56 +0100 |
commit | 7eb989b2dffe418d40a5101c05054cd4bfa4474a (patch) | |
tree | ca7785c9b44caac014908437c1d81fa78992d3d5 /src/lib/exchange_api_refresh_common.c | |
parent | 17a30cbd708cb2427fd3a7533fc9945898e2c34c (diff) | |
download | exchange-7eb989b2dffe418d40a5101c05054cd4bfa4474a.tar.xz |
-get melt and refresh-reveal to pass again
Diffstat (limited to 'src/lib/exchange_api_refresh_common.c')
-rw-r--r-- | src/lib/exchange_api_refresh_common.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/exchange_api_refresh_common.c b/src/lib/exchange_api_refresh_common.c index 0f0032c4c..7d8f4c920 100644 --- a/src/lib/exchange_api_refresh_common.c +++ b/src/lib/exchange_api_refresh_common.c @@ -114,9 +114,10 @@ TALER_EXCHANGE_get_melt_data_ ( /* build up coins */ for (unsigned int i = 0; i<TALER_CNC_KAPPA; i++) { - // FIXME: derive! - GNUNET_CRYPTO_ecdhe_key_create ( - &md->melted_coin.transfer_priv[i].ecdhe_priv); + TALER_planchet_secret_to_transfer_priv ( + ps, + i, + &md->melted_coin.transfer_priv[i]); GNUNET_CRYPTO_ecdhe_key_get_public ( &md->melted_coin.transfer_priv[i].ecdhe_priv, &rce[i].transfer_pub.ecdhe_pub); |