diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-05-30 19:31:49 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-05-30 19:31:49 +0200 |
commit | d55b093de8d5a39d7796ca68a4990ee4e9669c16 (patch) | |
tree | 0692bf465a54d05a78cd63a2b992e1f3902834f5 /src/lib/exchange_api_common.c | |
parent | ab4aa4dcfd3477971b3fb0c81a4caffff953c145 (diff) | |
download | exchange-d55b093de8d5a39d7796ca68a4990ee4e9669c16.tar.xz |
-fix reserve history, include in tests
Diffstat (limited to 'src/lib/exchange_api_common.c')
-rw-r--r-- | src/lib/exchange_api_common.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |