aboutsummaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_refresh_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-07 13:43:29 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-07 13:43:29 +0100
commite35e89f14db219b35e5f3c21ae833685db9c1c00 (patch)
tree2e9f3709327eceafee850fb5aa6a110084674f4f /src/lib/exchange_api_refresh_common.c
parentb84fb618c3c0f7492f609949f5202c75882d7b68 (diff)
downloadexchange-e35e89f14db219b35e5f3c21ae833685db9c1c00.tar.xz
-fix FTBFS
Diffstat (limited to 'src/lib/exchange_api_refresh_common.c')
-rw-r--r--src/lib/exchange_api_refresh_common.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/exchange_api_refresh_common.c b/src/lib/exchange_api_refresh_common.c
index 4e5e9c3e8..0f0032c4c 100644
--- a/src/lib/exchange_api_refresh_common.c
+++ b/src/lib/exchange_api_refresh_common.c
@@ -161,10 +161,7 @@ TALER_EXCHANGE_get_melt_data_ (
return GNUNET_SYSERR;
}
rcd->dk = &md->fresh_pks[j];
- rcd->coin_ev =
- pd.blinded_planchet.details.rsa_blinded_planchet.blinded_msg;
- rcd->coin_ev_size =
- pd.blinded_planchet.details.rsa_blinded_planchet.blinded_msg_size;
+ rcd->blinded_planchet = pd.blinded_planchet;
}
}
@@ -178,7 +175,7 @@ TALER_EXCHANGE_get_melt_data_ (
for (unsigned int i = 0; i < TALER_CNC_KAPPA; i++)
{
for (unsigned int j = 0; j < rd->fresh_pks_len; j++)
- GNUNET_free (rce[i].new_coins[j].coin_ev);
+ TALER_blinded_planchet_free (&rce[i].new_coins[j].blinded_planchet);
GNUNET_free (rce[i].new_coins);
}
return GNUNET_OK;