diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-11 11:55:59 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-11 11:55:59 +0100 |
commit | 4472cbaf9d1b17733caee421593a5229215df1a2 (patch) | |
tree | 4f0b1245aae3bbbc10ab978e997faad4c5bf5df5 /src/json | |
parent | 3b9d67a6f8a501bed0a24354bdba1b97a77d1320 (diff) |
-simplify structures
Diffstat (limited to 'src/json')
-rw-r--r-- | src/json/json_helper.c | 4 | ||||
-rw-r--r-- | src/json/json_pack.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c index c304bf22f..7c5f7dde2 100644 --- a/src/json/json_helper.c +++ b/src/json/json_helper.c @@ -733,11 +733,11 @@ parse_exchange_withdraw_values (void *cls, struct GNUNET_JSON_Specification ispec[] = { GNUNET_JSON_spec_fixed ( "r_pub_0", - &ewv->details.cs_values.r_pub_pair.r_pub[0], + &ewv->details.cs_values.r_pub[0], sizeof (struct GNUNET_CRYPTO_CsRPublic)), GNUNET_JSON_spec_fixed ( "r_pub_1", - &ewv->details.cs_values.r_pub_pair.r_pub[1], + &ewv->details.cs_values.r_pub[1], sizeof (struct GNUNET_CRYPTO_CsRPublic)), GNUNET_JSON_spec_end () }; diff --git a/src/json/json_pack.c b/src/json/json_pack.c index 043fa8463..535e8fa1c 100644 --- a/src/json/json_pack.c +++ b/src/json/json_pack.c @@ -142,11 +142,11 @@ TALER_JSON_pack_exchange_withdraw_values ( TALER_DENOMINATION_CS), GNUNET_JSON_pack_data_varsize ( "r_pub_0", - &ewv->details.cs_values.r_pub_pair.r_pub[0], + &ewv->details.cs_values.r_pub[0], sizeof(struct GNUNET_CRYPTO_CsRPublic)), GNUNET_JSON_pack_data_varsize ( "r_pub_1", - &ewv->details.cs_values.r_pub_pair.r_pub[1], + &ewv->details.cs_values.r_pub[1], sizeof(struct GNUNET_CRYPTO_CsRPublic)) ); break; |