summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_refreshes_reveal.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-08 00:12:56 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-08 00:12:56 +0100
commit7eb989b2dffe418d40a5101c05054cd4bfa4474a (patch)
treeca7785c9b44caac014908437c1d81fa78992d3d5 /src/lib/exchange_api_refreshes_reveal.c
parent17a30cbd708cb2427fd3a7533fc9945898e2c34c (diff)
downloadexchange-7eb989b2dffe418d40a5101c05054cd4bfa4474a.tar.gz
exchange-7eb989b2dffe418d40a5101c05054cd4bfa4474a.tar.bz2
exchange-7eb989b2dffe418d40a5101c05054cd4bfa4474a.zip
-get melt and refresh-reveal to pass again
Diffstat (limited to 'src/lib/exchange_api_refreshes_reveal.c')
-rw-r--r--src/lib/exchange_api_refreshes_reveal.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/lib/exchange_api_refreshes_reveal.c b/src/lib/exchange_api_refreshes_reveal.c
index f936e240b..38ca93310 100644
--- a/src/lib/exchange_api_refreshes_reveal.c
+++ b/src/lib/exchange_api_refreshes_reveal.c
@@ -408,15 +408,14 @@ TALER_EXCHANGE_refreshes_reveal (
TALER_EXCHANGE_free_melt_data_ (&md);
return NULL;
}
- GNUNET_assert (0 ==
- json_array_append_new (coin_evs,
- GNUNET_JSON_from_data (
- pd.blinded_planchet.details.
- rsa_blinded_planchet.blinded_msg,
- pd.
- blinded_planchet.details.
- rsa_blinded_planchet.
- blinded_msg_size)));
+ GNUNET_assert (
+ 0 ==
+ json_array_append_new (
+ coin_evs,
+ GNUNET_JSON_PACK (
+ TALER_JSON_pack_blinded_planchet (
+ NULL,
+ &pd.blinded_planchet))));
{
struct TALER_CoinSpendSignatureP link_sig;