From 42decef957861689c41d16a0dcfa8af3d9052816 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 24 Jul 2021 09:00:35 +0200 Subject: fix #6939 in exchange --- src/lib/exchange_api_transfers_get.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/exchange_api_transfers_get.c') diff --git a/src/lib/exchange_api_transfers_get.c b/src/lib/exchange_api_transfers_get.c index a3a82368c..1f6e419c9 100644 --- a/src/lib/exchange_api_transfers_get.c +++ b/src/lib/exchange_api_transfers_get.c @@ -89,8 +89,8 @@ check_transfers_get_response_ok ( struct TALER_Amount total_expected; struct TALER_MerchantPublicKeyP merchant_pub; struct GNUNET_JSON_Specification spec[] = { - TALER_JSON_spec_amount ("total", &td.total_amount), - TALER_JSON_spec_amount ("wire_fee", &td.wire_fee), + TALER_JSON_spec_amount_any ("total", &td.total_amount), + TALER_JSON_spec_amount_any ("wire_fee", &td.wire_fee), GNUNET_JSON_spec_fixed_auto ("merchant_pub", &merchant_pub), GNUNET_JSON_spec_fixed_auto ("h_wire", &td.h_wire), TALER_JSON_spec_absolute_time ("execution_time", &td.execution_time), @@ -146,8 +146,8 @@ check_transfers_get_response_ok ( GNUNET_JSON_spec_fixed_auto ("h_contract_terms", &detail->h_contract_terms), GNUNET_JSON_spec_fixed_auto ("coin_pub", &detail->coin_pub), - TALER_JSON_spec_amount ("deposit_value", &detail->coin_value), - TALER_JSON_spec_amount ("deposit_fee", &detail->coin_fee), + TALER_JSON_spec_amount_any ("deposit_value", &detail->coin_value), + TALER_JSON_spec_amount_any ("deposit_fee", &detail->coin_fee), GNUNET_JSON_spec_end () }; -- cgit v1.2.3