exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit a54e194b360bec01fb404a369abf88b0c65b54a9
parent 1a5d381cb040967c3306efcc5994efb9437d5cd5
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Wed, 11 Mar 2026 15:43:36 +0100

fix #11229

Diffstat:
Msrc/lib/exchange_api_post-batch-deposit.c | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/lib/exchange_api_post-batch-deposit.c b/src/lib/exchange_api_post-batch-deposit.c @@ -740,13 +740,12 @@ TALER_EXCHANGE_post_batch_deposit_create ( wallet_data_hashp = NULL; else wallet_data_hashp = &dcd->wallet_data_hash; - dh->deposit_obj = GNUNET_JSON_PACK ( TALER_JSON_pack_full_payto ("merchant_payto_uri", dcd->merchant_payto_uri), GNUNET_JSON_pack_allow_null ( - GNUNET_JSON_pack_data_auto ("extra_wire_subject_metadata", - dcd->extra_wire_subject_metadata)), + GNUNET_JSON_pack_string ("extra_wire_subject_metadata", + dcd->extra_wire_subject_metadata)), GNUNET_JSON_pack_data_auto ("wire_salt", &dcd->wire_salt), GNUNET_JSON_pack_data_auto ("h_contract_terms", @@ -824,8 +823,6 @@ TALER_EXCHANGE_post_batch_deposit_start ( curl_easy_cleanup (eh); return TALER_EC_GENERIC_CURL_ALLOCATION_FAILURE; } - json_decref (pbdh->deposit_obj); - pbdh->deposit_obj = NULL; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "URL for batch-deposit: `%s'\n", pbdh->url);