commit 7f78f64b6f289dc65656d6cabdfda035899a8f8c
parent efc01ba83c221747fb2d9b3d65b3c5c0c130fd8b
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 13 Feb 2025 15:53:56 +0100
make code match spec (vSubscriptions)
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -3402,7 +3402,7 @@ phase_parse_wallet_data (struct PayContext *pc)
struct TokenEnvelope *ev
= &pc->parse_wallet_data.token_envelopes[tokens_ev_index];
struct GNUNET_JSON_Specification ispec[] = {
- TALER_JSON_spec_token_envelope ("token_ev",
+ TALER_JSON_spec_token_envelope (NULL,
&ev->blinded_token),
GNUNET_JSON_spec_end ()
};
diff --git a/src/lib/merchant_api_post_order_pay.c b/src/lib/merchant_api_post_order_pay.c
@@ -425,7 +425,7 @@ TALER_MERCHANT_order_pay_frontend (
const struct TALER_MERCHANT_PaidCoin coins[static num_coins],
unsigned int num_tokens,
const struct TALER_MERCHANT_UsedToken tokens[static num_tokens],
- json_t *j_output_tokens,
+ json_t *j_output_tokens, // FIXME: not used, remove?
TALER_MERCHANT_OrderPayCallback pay_cb,
void *pay_cb_cls)
{
@@ -660,7 +660,7 @@ TALER_MERCHANT_order_pay (
const struct TALER_MERCHANT_OutputToken *ev = &output_tokens[i];
j_token_ev = GNUNET_JSON_PACK (
- TALER_JSON_pack_token_envelope ("token_ev",
+ TALER_JSON_pack_token_envelope (NULL,
&ev->envelope));
if (0 !=