summaryrefslogtreecommitdiff
path: root/src/json/json_pack.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-11 11:55:59 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-11 11:55:59 +0100
commit4472cbaf9d1b17733caee421593a5229215df1a2 (patch)
tree4f0b1245aae3bbbc10ab978e997faad4c5bf5df5 /src/json/json_pack.c
parent3b9d67a6f8a501bed0a24354bdba1b97a77d1320 (diff)
downloadexchange-4472cbaf9d1b17733caee421593a5229215df1a2.tar.gz
exchange-4472cbaf9d1b17733caee421593a5229215df1a2.tar.bz2
exchange-4472cbaf9d1b17733caee421593a5229215df1a2.zip
-simplify structures
Diffstat (limited to 'src/json/json_pack.c')
-rw-r--r--src/json/json_pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json/json_pack.c b/src/json/json_pack.c
index 043fa846..535e8fa1 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;