diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-07-24 09:00:35 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-07-24 09:00:35 +0200 |
commit | 42decef957861689c41d16a0dcfa8af3d9052816 (patch) | |
tree | ed55c4e5a2e2a4b8d2880fe10c8f82173cf0a11e /src/lib/exchange_api_transfers_get.c | |
parent | 325b60989faadb54213af578bb9b1b705d022726 (diff) | |
download | exchange-42decef957861689c41d16a0dcfa8af3d9052816.tar.xz |
fix #6939 in exchange
Diffstat (limited to 'src/lib/exchange_api_transfers_get.c')
-rw-r--r-- | src/lib/exchange_api_transfers_get.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 () }; |