From b3844e4923df39b41b8a8d46df173b1432c92364 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 May 2022 10:36:39 +0200 Subject: -deduplicate and expand reserve history validation logic in testing library --- src/lib/exchange_api_common.c | 4 ++-- 1 file changed, 2 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 373989e4..9ef2d3f4 100644 --- a/src/lib/exchange_api_common.c +++ b/src/lib/exchange_api_common.c @@ -475,7 +475,7 @@ parse_history (struct TALER_EXCHANGE_ReserveHistoryEntry *rh, GNUNET_JSON_spec_fixed_auto ("reserve_sig", &rh->details.history_details.reserve_sig), TALER_JSON_spec_amount_any ("history_fee", - &rh->details.history_details.history_fee), + &rh->amount), GNUNET_JSON_spec_timestamp ("request_timestamp", &rh->details.history_details.request_timestamp), GNUNET_JSON_spec_end () @@ -493,7 +493,7 @@ parse_history (struct TALER_EXCHANGE_ReserveHistoryEntry *rh, if (GNUNET_OK != TALER_wallet_reserve_history_verify ( rh->details.history_details.request_timestamp, - &rh->details.history_details.history_fee, + &rh->amount, uc->reserve_pub, &rh->details.history_details.reserve_sig)) { -- cgit v1.2.3