diff options
Diffstat (limited to 'src/testing/testing_api_cmd_bank_history_credit.c')
-rw-r--r-- | src/testing/testing_api_cmd_bank_history_credit.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/testing/testing_api_cmd_bank_history_credit.c b/src/testing/testing_api_cmd_bank_history_credit.c index aff50d830..0b71c7162 100644 --- a/src/testing/testing_api_cmd_bank_history_credit.c +++ b/src/testing/testing_api_cmd_bank_history_credit.c @@ -335,7 +335,6 @@ build_history (struct TALER_TESTING_Interpreter *is, * Check that the "/history/incoming" response matches the * CMD whose offset in the list of CMDs is @a off. * - * @param is the interpreter state. * @param h expected history (array) * @param total length of @a h * @param off the offset (of the CMD list) where the command @@ -344,8 +343,7 @@ build_history (struct TALER_TESTING_Interpreter *is, * @return #GNUNET_OK if the transaction is what we expect. */ static int -check_result (struct TALER_TESTING_Interpreter *is, - struct History *h, +check_result (struct History *h, unsigned int total, unsigned int off, const struct TALER_BANK_CreditDetails *details) @@ -455,8 +453,7 @@ history_cb (void *cls, } /* check current element */ - if (GNUNET_OK != check_result (is, - hs->h, + if (GNUNET_OK != check_result (hs->h, hs->total, hs->results_obtained, details)) |