From d55b093de8d5a39d7796ca68a4990ee4e9669c16 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 30 May 2022 19:31:49 +0200 Subject: -fix reserve history, include in tests --- src/lib/exchange_api_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/exchange_api_common.c') diff --git a/src/lib/exchange_api_common.c b/src/lib/exchange_api_common.c index 92bfee6e4..cfab9a305 100644 --- a/src/lib/exchange_api_common.c +++ b/src/lib/exchange_api_common.c @@ -476,8 +476,6 @@ parse_history (struct TALER_EXCHANGE_ReserveHistoryEntry *rh, struct GNUNET_JSON_Specification history_spec[] = { GNUNET_JSON_spec_fixed_auto ("reserve_sig", &rh->details.history_details.reserve_sig), - TALER_JSON_spec_amount_any ("history_fee", - &rh->amount), GNUNET_JSON_spec_timestamp ("request_timestamp", &rh->details.history_details.request_timestamp), GNUNET_JSON_spec_end () @@ -578,6 +576,9 @@ TALER_EXCHANGE_parse_reserve_history ( NULL, NULL)) { GNUNET_break_op (0); + json_dumpf (transaction, + stderr, + JSON_INDENT (2)); return GNUNET_SYSERR; } rh->amount = amount; -- cgit v1.2.3