diff options
Diffstat (limited to 'src/lib/exchange_api_refreshes_reveal.c')
-rw-r--r-- | src/lib/exchange_api_refreshes_reveal.c | 17 |
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; |