diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-31 18:18:11 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-31 18:18:11 +0100 |
commit | b3606d006d21a1653a7c74be08e060e5d611423c (patch) | |
tree | 9344aae1b93c7afe4bc88f752fb049ae0cead01c /src/lib | |
parent | 783d07b4765aabee529f889b55f4fb5a27efaa44 (diff) |
-fix
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/exchange_api_refresh_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/exchange_api_refresh_common.c b/src/lib/exchange_api_refresh_common.c index 245e5ddaf..520c80fd4 100644 --- a/src/lib/exchange_api_refresh_common.c +++ b/src/lib/exchange_api_refresh_common.c @@ -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 () }; |