diff options
| author | Christian Grothoff <christian@grothoff.org> | 2022-05-23 10:36:39 +0200 | 
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2022-05-23 10:36:39 +0200 | 
| commit | b3844e4923df39b41b8a8d46df173b1432c92364 (patch) | |
| tree | d3bfa4a3019321d53828817994709c3ac4f1a4f5 /src/lib | |
| parent | fcaf508647f86af4409aaec25a138e45fcb90be3 (diff) | |
-deduplicate and expand reserve history validation logic in testing library
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/exchange_api_common.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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))    { | 
