exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 0db12efc4d7d8d0c49b8e256b63f2cec90b03883
parent 7c5a277b34856173f5fd73a8c538b4421d677ce0
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Tue, 19 Feb 2019 17:42:39 +0100

Align tests to latest change.

Diffstat:
Msrc/lib/exchange_api_handle.c | 3+++
Msrc/lib/test_exchange_api_overlapping_keys_bug.c | 4++--
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c @@ -930,6 +930,9 @@ decode_keys_json (const json_t *resp_obj, if (GNUNET_YES == found) { /* 0:0:0 did not support /keys cherry picking */ + + /* Okay, but why breaking here? It could be that the + * user redownloaded all the keys in a forced way. */ GNUNET_break_op (0 == current); continue; } diff --git a/src/lib/test_exchange_api_overlapping_keys_bug.c b/src/lib/test_exchange_api_overlapping_keys_bug.c @@ -89,12 +89,12 @@ run (void *cls, TALER_TESTING_cmd_check_keys ("first-download", 1, - 4), + 1), /* Causes GET /keys?last_denom_issue=0 */ TALER_TESTING_cmd_check_keys_with_last_denom ("second-download", 3, - 4, + 1, GNUNET_TIME_UNIT_ZERO_ABS), TALER_TESTING_cmd_end () };