This commit is contained in:
Christian Grothoff 2021-10-31 18:18:11 +01:00
parent 783d07b476
commit b3606d006d
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -196,7 +196,7 @@ serialize_melt_data (const struct MeltData *md)
ps = GNUNET_JSON_PACK (
GNUNET_JSON_pack_data_auto ("ps",
&md->fresh_coins[i][j]));
&md->fresh_coins[j][i]));
GNUNET_assert (0 ==
json_array_append (planchet_secrets,
ps));
@ -305,7 +305,7 @@ TALER_EXCHANGE_deserialize_melt_data_ (const json_t *melt_data,
{
struct GNUNET_JSON_Specification jspec[] = {
GNUNET_JSON_spec_fixed_auto ("ps",
&md->fresh_coins[i][j]),
&md->fresh_coins[j][i]),
GNUNET_JSON_spec_end ()
};